Skip link (or Skip Navigation link) for comment form is really important when your entry has a lot of comments. But there’s no point in having one when your comment form is just few pixel away after the entry.
This is how you can show the skip link if the comment reach n number of comments. Example below will make the skip link appear if 1) comment status is open 2) comment count is more and equal to 4.
- Open your Theme’s comments.php file.
- After
(or anywhere you find suitable) paste these lines:
Skip to comment form
Example:
to “”
Skip to comment formDon't forget to style the codes to match your layout.
- Finally, make sure that an element with ID attribute
respond
is added or assigned. For example:Leave a Reply
Preferably right before the comment form.
Nice, I do the same but include the link in the sidebar. :)
thanks for the sharing. save time from scrolling the mouse. :)
Nice…
informative post, keep it up.,
I will continue to pay attention to you