• Resolved wollens

    (@wollens)


    Is it possible to use this plugin on AMP pages? In my case, it is not working.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author A. Jones

    (@nomadcoder)

    If amp doesn’t use standard WP filters to display the author name, this plugin will not work. It’s also possible that amp overrides the author name.

    Plugin Author A. Jones

    (@nomadcoder)

    I tested AMP with this plugin and it seems to work fine. I need more information from you. Can you email me at [email protected]? What additional plugins are installed and which theme are you using?

    Thread Starter wollens

    (@wollens)

    I use Jnews theme. They have a Jnews AMP plugin that modified some structures. It works fine on non-amp pages, but not on AMP.

    This is the meta-author.php:?https://pastebin.com/6ppkaiur

    Correct this would be a great thing. I believe a lot of people that use news?give use using your plugin because of this.?

    Thank you.

    Plugin Author A. Jones

    (@nomadcoder)

    We have found that we can make the premium plugin work with JNEWS with some extensive customization (https://www.plugins.shooflysolutions.com/guest-author-name/knowledge-base/compatibility-issues/). Although JNEWS is an excellent theme, it is not compatible with the guest author plugin out of the box and is not easy to customize due to it’s unique coding style. I will take a look a the information that was sent to me to see if I can resolve this issue easily.

    • This reply was modified 4 years, 5 months ago by A. Jones.
    Plugin Author A. Jones

    (@nomadcoder)

    Unfortunately, the authors of this theme/plugin do not write developer friendly, pluggable code. The code used to retrieve the author name and id is retrieved based on the author id instead of the post.

    The theme authors can change the code so that it uses the post functions that get author information via the post:

    the_author(), get_the_author_url() & get_avatar

    If they don’t want to do this, they can create a filter that developers can use or a pluggable function.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working on AMP pages’ is closed to new replies.