Link Post Author Name To Twitter Account In Genesis

This code enables you to link the post author name in the post info ( entry header ) to the authors Twitter account as seen in the following demo video :

Demo Video #

Tested using the Genesis Sample child theme by StudioPress.

You can also use the code to change the link text from the post authors name to anything else and link to somewhere other than the authors Twitter account.

Code Installation #

There’s 2 code snippets to make this happen.

The 1st snippet adds the Twitter URL and Twitter Handle input fields to the user profile page for each logged in user.

The 2nd snippet modifies the post info to link the post authors link to the URL added in the Twitter URL field on the users profile page.

Yoasts SEO

Note : If using Yoasts SEO plugin, no need to add the 1st snippet.

There’s only 1 step :

Related Code Snippets

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.