WordPress.org

Support

Support » Themes and Templates » How to add hyperlink code to the homepage in single.php?

How to add hyperlink code to the homepage in single.php?

  • Hi,

    Is there any code that can create hyperlink to the homepage? I want to have a link to the homepage with anchor text that will appear automatically at the end of a new post. Something like this code:

    <p><?php wp_title(”,true); ?></p>

    I use this code in single post (single.php) file after the ‘content’ code and it displays the post name in the end of the post in bold letters.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to add hyperlink code to the homepage in single.php?’ is closed to new replies.