Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brandon Allen

    (@thebrandonallen)

    Where in your theme are you seeing the issue? It could be a bug, or it could be your theme. I built in fallbacks, so no one should ever see a link like that. Therefore, I’m guessing it’s an issue with how the theme is building author links. I’ve taken a look at your theme, and your main theme is fine. However, you’re using a child theme, so it’s possible you have some old code in the child theme templates. I saw that your theme listed author link improvements in the changelog of at least two releases.

    So you know, get_author_posts_link() or the_author_posts_link() are the two functions that will return the proper result. If author links aren’t built with one of those functions, the plugin won’t replace %ba_eas_author_role% with the appropriate information.

    Let me know what you find, and we’ll see what we can do to get things working.

    Thread Starter pvheck

    (@pvheck)

    Thank you Brandon.

    I use this Theme https://themeforest.net/item/presso-clean-modern-magazine-theme/6335504/

    I explained them the problem and this is what they answered:
    “The author link was generated by echo get_author_posts_url(get_the_author_meta( ‘ID’ )); and there is no special function on both main theme and child theme for re-generating the author link. It may caused from the plugin.”

    Anything I can do to get you more information?

    Plugin Author Brandon Allen

    (@thebrandonallen)

    Sorry it took so long to get back to you. The current version of the theme does things correctly, but based on the changelogs, it appears as though older versions may have not. You appear to be using a child theme, so I was saying that a file in the child theme, if based on an older version of Presso, could be overriding changes made to the way author links were generated. If you want to create a zip of your child theme and send it my way, I can tell you where to send it and take a look.

    The other possibility is another plugin interfering with the hooks used by Edit Author Slug. You can try disabling all plugins, except for Edit Author Slug, and see if that changes things. If the author Permalinks work correctly, re-enable the plugins, one-by-one, until the author links break again. Then you’ll know the culprit. Let me know the plugin causing the problem, and I’ll investigate why.

    If none if the above are the problem, then there’s likely some bad logic, somewhere, in my plugin. I’m not ruling it out, but you’re the first report I’ve heard with this happening, and my testing never came up with this issue.

    Thread Starter pvheck

    (@pvheck)

    I disabled all plugins but I got the same result, so I zipped my child theme. To where can I send it?

    Plugin Author Brandon Allen

    (@thebrandonallen)

    wp_plugins [at] brandonallen {dot} org

    Plugin Author Brandon Allen

    (@thebrandonallen)

    Got it. I’ll dig through, and see what I can find. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Role-Based Author Base’ is closed to new replies.