WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Monotone theme: posting comment on homepage (3 posts)

  1. jpdeboer
    Member
    Posted 4 years ago #

    How can I show the comment-form on the homepage and not only on next pages? I would like people to react on new posted pictures on the homepage, but now they don't see the comments-form there.

    THNX!!

  2. jpdeboer
    Member
    Posted 4 years ago #

    Anybody any idea?

  3. AllyV4
    Member
    Posted 4 years ago #

    Hi, I've found the solution right now: on index.php of MONOTONE THEME, find:

    <div class="nav next"><?php if(is_home()) $wp_query->is_single = 1; previous_post_link('%link','&rsaquo;'); if(is_home()) $wp_query->is_single = 0; ?></div>

    and replace it with:

    <div class="nav next"><?php if(is_home()) $wp_query->is_single = 1; previous_post_link('%link','&rsaquo;'); if(is_home()) $wp_query->is_single = 1; ?></div>

    Now the comment form appears on the homepage, it's not very beautiful but it's useful ;)

Topic Closed

This topic has been closed to new replies.

About this Topic