WordPress.org

Support

Support » Themes and Templates » [Resolved] Monotone theme: posting comment on homepage

[Resolved] Monotone theme: posting comment on homepage

  • 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!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anybody any idea?

    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 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Monotone theme: posting comment on homepage’ is closed to new replies.