Jump to content
Sign in to follow this  
chan08

Link to External Link from Blog Post Title

Recommended Posts

chan08

Hi everyone, I was looking to set up a resource page where the links of post titles would link to external sites. I did some research on Google and came upon this website http://www.wpbeginner.com/wp-tutorials/how-to-link-to-external-links-from-the-post-title-in-wordpress/ I added the larger bit of code to the functions.php in the customize plugin. Thing is now I'm stuck because I don't know where to add the bit of code that goes in the index.php. Any help would be really appreciated. Thanks in advance, Hari

Share this post


Link to post
Share on other sites
bxbmedia
Hey @chan08, I recommend using the plugin that is mentioned in the article you referenced: [url="http://wordpress.org/extend/plugins/page-links-to/"]Page Links To[/url]. It would be much easier and better than trying to use that less-than-good code. I've used it before myself and it's very easy to use. Good luck!

gl hf

Share this post


Link to post
Share on other sites
chan08
Thanks guys, I will take your advice and go with the plugin .. Just for the sake of learning though, where would I modify the code in the index.php file if I wanted to make future customizations? Or would it just depend on what I'm looking to do ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×