WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [P2] Hiding thread by default? (5 posts)

  1. mattjf
    Member
    Posted 4 years ago #

    This may seem counter-intuitive to the theme, but I was wondering if there was anyway of hiding the comments on the page by default? I wouldn't disable them completely as much as I would want to have the "show comments" be the default instead of "hide comments".

  2. Mark / t31os
    Moderator
    Posted 4 years ago #

    Don't know the theme but does changing this line in the theme functions.php help.

    Line 110:

    var hidecomments = false;

    to

    var hidecomments = true;

    I'm assuming that's the default value..

  3. mattjf
    Member
    Posted 4 years ago #

    Hmmm...that doesn't seem to work.

  4. Mark / t31os
    Moderator
    Posted 4 years ago #

    Oh well, was worth a shot...

    Sorry i can't help more, i'm not familar with the theme.

  5. mattjf
    Member
    Posted 4 years ago #

    Crap. Found the answer here...with the same exact thread name.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags