• I am using a child theme. I went to modify the Author byline and noticed that the twitter handle is supposed to show in the byline. this has never worked for me.

    Also, I want to modify the byline to look like this:

    Written by Luis Izquierdo, (User Role), (Twitter Handle)
    Published: (Date & Time)

    I already have it to show like this:

    Written by Luis Izquierdo,
    Published: March 5, 2017 at 3:49 pm

    But i need to add the user role and get the twitter handle working.

    Site URL:
    https://www.cflwire.com

Viewing 1 replies (of 1 total)
  • Theme Author Jacob Martella

    (@arenapigskin)

    Hey Luis,

    So you’re going to want to copy the giornalismo_author_byline function definition from lines 628-636 in functions.php over to your child theme’s functions.php file. I’ve made sure to already wrap the function in the parent theme in a way where there should be no issues in defining the same function in the child theme.

    Once you’ve done that, replace the string “giornalismo-author-twitter-handle” with “giornalismo-twitter-handle” in the if statement. And then you can use the solution here to add the user role to the byline.

    Hopefully this helps. Let me know if you have any other questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Tiwtter Handle not showing / Modifying Author Byline’ is closed to new replies.