CRP Related Posts for AMP Plugin
-
Okay, I’ve set up the WordPress AMP plugin and the related posts appear where they belong at the bottom of the page, with one thing wrong and it’s not your fault.
The endpoint is /amp/ and that isn’t part of the related posts plugin. If this was part of the content, I could do a str_replace(). I don’t know what hook to filter, if there’s a different one.
Should I just edit the theme file to use something like:
$related = crp_related_post();
And do my string replace there?
Is there an easier way?
https://www.ads-software.com/plugins/contextual-related-posts/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘CRP Related Posts for AMP Plugin’ is closed to new replies.