Description
Without Accelerated Mobile Pages for WP plugin, regardless of the setting I select in Jetpack infinite scroll, %%footer%%
text does not appear at the bottom of my site.
Steps to reproduce the issue
- Install and activate Jetpack plugin.
- Install and activate Accelerated Mobile Pages for WP plugin and configure settings
- Go to Jetpack settings > Writing > Theme enhancements > Infinite Scroll and select either "Load more posts in page with a button" or "Load more posts as the reader scrolls down".
- Visit the front page of your site, scroll down to the bottom and
%%footer%%
text will be displayed
What I expected
%%footer%% text should not appear at the bottom of the site regardless of the option selected under Infinite Scroll.
What happened instead
In Jetpack settings > Writing > Theme enhancements > Infinite Scroll, only when setting “Load more posts using the default theme behavior”, %%footer%%
text will be removed / will not appear at the bottom of the site.
Screenshots
- In the browser inspector,
%%footer%%
shows:
<amp-next-page max-pages="0" class="i-amphtml-element i-amphtml-layout-container i-amphtml-next-page i-amphtml-built i-amphtml-layout" i-amphtml-layout="container"><div recommendation-box="" class="recommendation-box"><template type="amp-mustache"> </template><div> </div></div> <div footer=""> %%footer%% </div> </amp-next-page>
- when Infinite Scroll is set to either "Load more posts in page with a button" or "Load more posts as the reader scrolls down", %%footer%% is displayed at the bottom of the site:
- when Infinite Scroll is set to “Load more posts using the default theme behavior”, %%footer%% text is removed / not displayed:
Reference: 3553352-zen
Activity