Support » Fixing WordPress » Linking to the “Leave a Reply” anchor tag

  • I developed this site for a photographer and she requested the comments section be “scrollable” under each post on the index page. I accomplished that by using comments.php and adding this code to the index page:

    <?php
    $wp_query->is_single = true;
    comments_template();
    $wp_query->is_single = false;
    ?>

    What I am trying to do next is to NOT show the “Leave a Reply” section(s) on the index page, but instead have a button or link that, when clicked on, takes the user to the “Leave a Reply” section on the individual post page using #respond anchor tags that I already have in place.

    Here is a link to the site to help give you a visual of where I am at:
    http://photosbyjennifer.com/blog/

    Any help would be appreciated!

Viewing 1 replies (of 1 total)
  • This is kind of a shameless bump, but also a question for future reference… should a question like this be made in the WP-Advanced forum instead of the How To and Trouble-Shooting one? I wasn’t sure if the lack of response was because of that, or if it’s just because the question is too specific to spark any interest…

Viewing 1 replies (of 1 total)
  • The topic ‘Linking to the “Leave a Reply” anchor tag’ is closed to new replies.