Support » Plugin: Auto Post Thumbnail » Not working if I am using the [gallery] shortcode

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Amit Badkas


    Hi Maraki,

    The shortcodes are converted at view time. So this plugin will not work with [gallery] shortcode

    Hello Amit,

    Thanks for the reply. Would you know a function that automatically sets the featured image based on the first image in the gallery?


    There is a simple solution to this: wrap each reference to $post[0]->post_content in do_shortcode.



    While I’m a total WordPress Newbie, and don’t know anything about WordPress, this works perfectly for me. It seems that not doing this is a bug — but maybe the author has a reason for avoiding it — like consistency with the API or preformance issues. – Andy

    Hello Andy,

    I am bit scared to change this as i have a lot of other plugins installed..

    Plugin Author tariquesani


    The PRO version of this plugin can resolve short codes – see demo at it is just $5 and saves you the hassle

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working if I am using the [gallery] shortcode’ is closed to new replies.