• Hello,

    we’re using this great plugin our educational multisite.

    Today we found a bug, I think. If we use the placeholder %author% it does not construct it the right way. It stopps at /author/

    You can check it out here: https://unser-quartier.de/roehlinghausen/

    Any quick fix for this?

    Best wishes

    Daniel

Viewing 1 replies (of 1 total)
  • Hi Daniel,

    I had the same problem, fixed this by changing

    $byline = str_replace( '%author%', '<a href="' . get_author_posts_url( $id ) . '">' . get_the_author() . '</a>', $byline );

    on line 11 in /inc/functions.php for the widgets-for-siteorigin plugin to:

    $byline = str_replace( '%author%', '<a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '">' . get_the_author() . '</a>', $byline );

    -Gyurka

    • This reply was modified 7 years, 1 month ago by ThE_ED.
Viewing 1 replies (of 1 total)
  • The topic ‘Inked Blog / Bug in author link?’ is closed to new replies.