How to Link to External Links from the Post Title in Genesis

This code enables you to link any single post entry title to any URL. The URL you add doesn’t need to be an external URL. It can be another URL on the same WordPress installation.

There’s 2 simple steps you need to take:

  1. The 1st step is to copy & paste the code into your child themes functions file.
  2. The 2nd step is to create a custom field named external_link and add your link to the value field like you see in the following image:

custom-fields

If you don’t use the custom field, the post will link to the default permalink.

Prefer a Plugin?

Mark Jaquith, the lead developer of WordPress, has coded a popular plugin named page links to.

Here’s the code for logged in members:

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.