• Hi, I am facing 1 issue where i need your help

    AMP is validated on Archive/Tag/Author/Category/Single page.

    Only problem is Blog Home Page.

    In our case Blog Home page is inner page which is (https://bit.ly/320eNAp). We have created a page and set as Posts page (Blog) From Settings >> Reading >> Posts Page >> Blog Selected.

    Please let me know how can we enable AMP of blog page.

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • @ashishjangra-1 Can you let me know of the following:
    – Does the same issue arise with another theme active?
    – Do you have any other URLs displaying a list of blog posts?
    – Can you share what you see in your AMP General settings, under “Supported Templates”?

    Thread Starter Ashish Jangra

    (@ashishjangra-1)

    Hi @jamesosborne

    Yes the same issue with Neve theme which is AMP compatible. As this seems when your blog page is not your landing page in that case AMP Didn’t work on blog home page.I

    I am not showing blog listing on other page.

    In supported template Except Pages, Media and Guest Posts everything is checked.

    I did a quick fix as I have checked Pages and skipped on all pages except blog page. As my blog page ID is 30 so I have skipped from all other pages. I don’t know how much its a reliable solution.

    add_filter( ‘amp_skip_post’, function( $skip, $post ) {
    if ( is_page() && $post != 30 ) {
    $skip = true;
    }
    return $skip;
    }, 10, 2 );

    Thanks

    @ashishjangra-1 I would be curious to know more about this issue so we can figure out the cause.
    – Can you share your Site Health information?
    – Are you using a a standard blog for the homepage or a visual composer blog?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enable AMP of blog page’ is closed to new replies.