• I created a single.php but when you click on comments it goes to the title of the post and users must scroll down to the comments box.
    how can I make it go to “comments box” or the start of comments not to the title

Viewing 4 replies - 1 through 4 (of 4 total)
  • Add
    <a name="comments"></a>
    to where you want the readers to jump to i.e. add it to just before the comments area in comments.php. Now in your links to the comments, use (for example)
    <a href="http://www.roadstoiraq.com/?p=247#comments">

    Thread Starter iraq

    (@iraq)

    ifelse
    you are one in million

    ifelse

    (@ifelse)

    No prob:-) BTW, the website in your profile is pointing to a URL which doesn’t exist. It took me a bit of time to find your actual domain.

    Thread Starter iraq

    (@iraq)

    Oh that was an old domain, thank you for pointing on this, I will correct it

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Single.php how can I make it go to comments box not to the title’ is closed to new replies.