Support » Plugin: PB SEO Friendly Images » How can I exclude a certain page?

  • Resolved dtszero



    Currently I enabled the “Only images in post content” but the plugin are still overwrite the alt an title tags on my current front page.

    So, how can I exclude certain pages or post from the plugin?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PascalBajorat



    depending on the theme and used functions the post content filter could also affect content on the frontpage.

    Post content is not restricted only to single posts.

    You can remove the filter with some custom code in your functions php:

    remove_filter( 'the_content', array('pbSEOFriendlyImages', 'prepareContentImages'), 999 );

    Use conditional tags to run it on the right page:


    Thanks! It works 10/10.

    I’ll mark as resolved and save the code for the future.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I exclude a certain page?’ is closed to new replies.