Support » Plugin: Advanced Text Widget » Include category but exclude frontpage?

  • Resolved Hurme



    Thanks for the wonderful plugin.

    I’m trying to make the plugin show up in specific category and posts in that category, no where else. Because these posts also appear on the frontpage of the wordpress site, I need some way to exclude the plugin from appearing there.

    I’m sure it’s something relatively simple like a new condition in the plugin settings, but as I’m no programmer this problem has me baffled. 🙂

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


    Hi there,

    option “Post in Category” should fit your needs. Have you tried it? If you still have widget on the front page, then create a new condition and try these:

    If you have static front page:
    in_category($arg) && !is_front_page()

    If your home page is blog’s main page:
    in_category($arg) && !is_home()

    The last option did the trick, thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Include category but exclude frontpage?’ is closed to new replies.