• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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 :

Register for full access

Related Code Snippets

  • Add Twitter Link To Genesis Post Info

Entry Meta

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems