How to link to an external link from the WordPress post title

Snippets WordPress

Did you see other sites link to external posts from their post title? Well that is because it is completely useless to create a new post where inside you are going to tell users to go to another site to read it. You are wasting your user’s time. This trick will allow you to link to external links from your post title in WordPress.

Add the following to you functions.php file:

Then add the following tag in your template where you want to display the link

Leave a Reply

0 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
newest oldest most voted
Notify of