Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jasonhdavis

    (@jasonhdavis)

    @jamesosborne Yes, I understand. So you’re saying that duplicating the twentysixteen files inside of the amp-template folder will be sufficient to act as a boilerplate theme?

    Again, please understand that I am not trying to build piecemeal, I want a boilerplate theme. Something that’s complete that I can then modify. So I will duplicate the entire twentysixteen theme, including static assets, and that will work?

    Besides front-page.php being changed to home.php, are there other files that will need filename changes?

    Also, you believe copying over the entire theme will resolve the timeout error that I am currently experiencing? Or would this be related to an installed plugin, such as Visual Composer?

    Thread Starter jasonhdavis

    (@jasonhdavis)

    @jamesosborne Thank you for the response. The theme is a heavily modified child theme of twentyseventeen and includes visual composer. My hope was to maintain a separate AMP template stored inside of the child theme.

    I setup a folder ‘amp-template’ and pointed to it using add_theme_support. The documentation says that this should be done with the Transitional method.

    Most of the pages work in Reader mode, except the homepage. None of the pages work in transitional, even with the plugin theme files copied over.

    You can see the site here: https://texastoilets.wpengine.com/

    The intention is to make custom amp landing pages for different marketing campaigns, so having a separate template and separate pages is not an issue.

Viewing 2 replies - 1 through 2 (of 2 total)