GeoDirectory Support Forums Forums GeoDirectory Core Plugin General Discussion How can I prevent Genesis themes prevent

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #408663

    Himadri Goswami
    Full Member
    Post count: 63

    How can I prevent genesis themes creating additional thumbnails which was meant for regular posts? I want them to stop creating thumbnails for listing posts.



    Himadri Goswami
    Full Member
    Post count: 63

    For example i want to know, if I can use the following snippet to prevent home-middle thumbnail size generation for my geodirectory custom post type gd_hospitals:

    add_filter( 'home-middle', my_custom_intermediate_image_sizes, 999 );
    function my_custom_intermediate_image_sizes( $image_sizes ){
       if ( isset( $_REQUEST['post_id'] ) && 'gd_hospitals' === get_post_type( $_REQUEST['post_id'] ) )
          return array();
       return $image_sizes;

    Secondly I want to know, If I want prevent more thubnails images meant for regular posts, how can I use in this same snippet?


    Post count: 3844


    Can you tell us about the bug or issue you are experiencing?

    Customization of the theme is outside of what we do in support

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How can I prevent Genesis themes prevent’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.

  • How to add a new support ticket

    To open a new support ticket, first select the relevant forum and then click the "New Post" button. Example: You need support for the core plugin? Click on GeoDirectory Core Plugin support and click on the "New Post Button".
  • Support Policy

    Please read the support policy before starting to use the forum.
  • Feature Requests

    Is there a theme for which you'd like to see a compatibility package or a new feature that you think would be of great benefit for the GeoDirectory community?

    Submit a feature request : here

    Each month you get 5 votes to distribute. You can choose to use all your votes for one idea you really like, or spread them across between several ideas :)

    We will do our best to create whatever you suggest if it becomes popular, we however reserve the right to reject ideas that we believe could not be realized without revolutionizing the plugin.

  • Are you a developer?

    Make Money with GD Jobs

    Get listed in the GeoDirectory Experts Directory. There may be a new client waiting for your services.

    Or selling GD Themes and Addons

    Did you know that you can easily build GeoDirectory Addons and Themes and that there is a rapidly growing market for it? Submit your Add-ons and Themes here
  • Looking for a GD developer?

    We do not provide customization services, but feel free to check out the GeoDirectory Experts Directory, there you'll find several freelance GD experts ready to start working with you.