The MU forums have moved to WordPress.org

Switching classes on specific page (4 posts)

  1. verbal36
    Member
    Posted 18 years ago #

    I basically have a 3 column blog content area.
    On one of my pages..I have a forum. I've set an "if" condition to not include one sidebar when on the forum page. However, the class for that forum page still behaves as if its a 3 column website.

    What I'd like to do is to be able to properly create an if statement that will allow me change the page class when on that forum page. I've tried to do this a bunch of ways and it blows up each time.

    has anyone done this? or can point me in a good direction?

  2. lunabyte
    Member
    Posted 18 years ago #

    Use is_page()?

    Or a custom page template.

  3. verbal36
    Member
    Posted 18 years ago #

    Or a custom page template.

    Ok..that like took 2 minutes to do ...lol

    Thanks for the info Luna

  4. lunabyte
    Member
    Posted 18 years ago #

    Yep.

About this Topic

  • Started 18 years ago by verbal36
  • Latest reply from lunabyte