• Resolved Carsten Lund

    (@carsten-lund)


    Hi there, does AMP work with BuddyPress, or does it not have any positive impact at all?

    If yes, which Template Mod,e and Supported Templates Content Types should I use?

    I have been looking around, but found only old posts about this topic, do you have any documentation on this topic?

    Regards
    Carsten

Viewing 8 replies - 1 through 8 (of 8 total)
  • @carsten-lund Unfortunately BuddyPress is not fully AMP compatible. You can however use AMP in reader or transitional mode, while disabling AMP for any content types or templates that feature non AMP compatible features.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi, thanks for clarifying, how do I exclude the content types or templates that feature non AMP compatible features in relation to BuddyPress?

    @carsten-lund You could disable AMP by default using the function below, added to your themes functions.php file or preferably a custom plugin:
    add_filter( 'amp_post_status_default_enabled', '__return_false' );

    You can then opt in for AMP on particular pages or posts using the “Enable AMP” toggle. Or you could use other functions to enable AMP at page, post or category level.

    Alternatively you can use the supported templates option within the plugins general settings.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi James, thanks for your help.

    Regards
    Carsten

    Thread Starter Carsten Lund

    (@carsten-lund)

    Sorry, one question more, this is complicated. I get this message now, when I test my site, how do I submit my pages?

    Non-AMP submitted
    This page isn’t an AMP. However, it references the following URL as its AMP version:
    https:/domain.com/?amp

    Thanks!

    @carsten-lund When testing your site for AMP validation you’ll need to use an AMP URL.

    Along with the plugins admin bar you can use the AMP validator Chrome extension to view AMP versions of your content.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Thanks a lot for the tip

    Plugin Author Weston Ruter

    (@westonruter)

    Yes, you could use Standard mode (AMP-first) or Transitional mode (paired AMP) if you turn off AMP for the templates and post types used by BuddyPress. I haven’t used BuddyPress much so I’m not familiar with what the best configuration would be.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Does AMP have any positive impact with BuddyPress?’ is closed to new replies.