frontpage amp is not working
-
plugin is not creating amp for frontpage/homepage. i have assigned a page as frontpage (type=page). but your plugin is not getting content of this page. for front page it is getting content of post page assigned in general setting. also i have assigned custom frontpage in plugin setting but it is not getting that page content. to resolve it, i have added a code in ( $GLOBALS[“post”] = get_post($post_id); ) before ( $template = new AMP_Post_Template( $post_id ) ) line no 9 in file \wp-content\plugins\accelerated-mobile-pages\templates\design-manager\design-2\frontpage.php.
please provide a proper solution in next update.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘frontpage amp is not working’ is closed to new replies.