Skip to:

How to implement Google AMP in bbpress?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve only thought about it briefly, you’d need to write a set of custom templates so that everything passed the AMP specs

    I know bbPress uses CSS’ !important in a few places so that we can force a few things for our “template compatibility” in supporting as many themes as we do, you can't use!important` with AMP:

    Apart from that issue of the top of my head, I don’t see why it couldn’t be done 🙂



    Well, this thread is pretty old and I have a way how you can enable AMP for bbpress pages.

    Before going to enable AMP support you need below things:
    – Code snippets plugin
    – AMP plugin

    Create a new code snippet and add the following code:
    add_action( ‘amp_init’, ‘amp_bbpress_init’ );
    function amp_bbpress_init() {
    add_post_type_support( ‘topic’, AMP_QUERY_VAR );

    Read more @ How to Implement AMP on bbPress

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar