• I’d like to add function to manipulate content on the fly in functions. with normal wordpress theme. I can add posts_join to join my custom tables to the post database table. and then the_content to manipulate content which needs the tables in post_join.

    1. With amp it seems the post data coming in without the joined tables. I tried also ampforwp_modify_the_content but same thing. anyone knows how to do that?

    2. I made workaround which is load the supposed joined tables on the fly, but I noticed sometimes it doesn’t work, I assume because cache. how to flush amp cache?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @gomilky,

    1. Try to give the highest & lowest priority of the_content filter and check whether the data is rendering or not. If still didn’t resolve, please contact us directly at [email protected]. Our technical team will assist you there to resolve the issue.

    2. Can you try to flush the non-amp cache and also from the server side? because all AMP pages are cached by Google. Are you checking by directly adding the site URL or from the Google search engine?

    Thread Starter gomilky

    (@gomilky)

    Thanks. I sent email. but now I understood what you meant by the Google cache. I check my site directly not from google search engine. So I assume amp for wp doesn’t have any cache system.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @gomilky,

    Thank you for contacting us, We’ve got your email. Our technical team will assist you there.

    Yes, the ampforwp plugin doesn’t have any cache system.

    Hope it helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Manipulating content with amp and posts_join’ is closed to new replies.