• I’ve created some custom post types.
    I want the archive pages of these post type not to load as AMPs.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    By using the following option you can achieve your requirement. Please give it a try and let me know back if you need any assistance? So that we will help you accordingly to resolve it.

    Reference screenshot: https://prnt.sc/rauyT1pV84y1

    Thread Starter hoomijoon

    (@hoomijoon)

    Hi @ahmedkaludi , thanks for your response.
    But that option can just search in post tags to exclude them.
    We have a custom Posttype that just want it’s archive not to be showed as amp.
    Will unchecking the “Archives” in “Where do you need AMP?” in the “Setup” section help?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Sorry for the previous response. From the dashboard just go to the left-hand side in the Menu bar and go to the AMP option panel -> Settings -> General & Next, scroll down to the “Custom Post Type” option at the bottom of the screen. When you click on the “Custom Post Type” option one list will be displayed and when you choose these options where you want to enable the AMP, those included post types are only will be displayed in the AMP version, and the remaining will be excluded in AMP version.

    Reference screengrab: https://prnt.sc/3FHusthfe–M

    Thread Starter hoomijoon

    (@hoomijoon)

    Hi, Thanks for your answer.
    That couldn’t help either. I just wanted to exclude a custom post-type archive page.
    Finally, I disabled all archives by unchecking the related option.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Extremely sorry for the inconvenience. Can you please let me know, Do you have custom taxonomies? If yes, then you can add or remove it with that option. Kindly check once and do let us know.

    Reference screenshot: https://prnt.sc/z8YsS0KcqAMN

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How exclude custom post type archive’ is closed to new replies.