WordPress.org

Support

Support » Plugins and Hacks » Having Plug-ins act different on index vs. post pages

Having Plug-ins act different on index vs. post pages

  • While implementing some Plug-Ins, I’m running into the issue where I’d like
    the post to appear a certain way on the index – but different on the
    individual post’s page.

    For example a plug-in lets you collapse/expand some of the post’s text on
    the index page, but on the individual posts it should be fully expanded (but
    the plugin continues to make it collapsed on all pages)

    Wondering if theres any good solutions or tricks to wordpress to understand
    in order to work around this.

    Thanks for your time and suggestions.

Viewing 1 replies (of 1 total)
  • a good friend suggested using the is_home() function in a conditional inside the plugin. this is a good start!

Viewing 1 replies (of 1 total)
  • The topic ‘Having Plug-ins act different on index vs. post pages’ is closed to new replies.