• The custom author byline plugin has a filter on line 32. It says:
    add_filter( 'author_link', 'custom_author_uri' );

    but it doesn’t seem to work. My theme calls for an author name to show the link, but it doesn’t appear using the custom value.

    I tried changing it to match something I saw on the codex to say instead:
    the_author_link

    … but that didn’t work either.

    I did manage to find a workaround though. By editing my theme, instead of the plugin, I can include this:
    <a href="<?php echo get_post_meta($post->ID, 'uri', true); ?>" rel="author"><?php the_author(); ?></a>

    and now I get the intended results. the author’s name is shown, via the custom field, along with a link to the custom author URI.

    I thought I would share this in case anybody knows how to fix the plugin, or in case anybody wants to try my workaround.

    https://www.ads-software.com/extend/plugins/custom-author-byline/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would like to say thank you for posting this. I ran into the same problem and this was a godsend. ??

    Is the problem here that custom author links are not working at all with some themes?

    I tried this plugin with Woo Canvas, which automaticlly creates linked author names that go to an archive list of all posts by that author. When this plugin is used, the author name is overridden with the custom byline name, and the custom author link is applied as a *redirect* that happens AFTER going to the author archive for the user actually assigned as the post’s author. Not ideal, but it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Author URI’ is closed to new replies.