AMP Settings Help

These settings allow you to include AdPlugg ads in your AMP pages.

If you are new to AdPlugg, you may find it easier to place ads on your regular pages first before attempting to include them in your AMP pages. '; $requirements_content = '

Requirements

For these settings to work, you will need to have the AMP plugin installed.

You will also need to have an AdPlugg account with at least one Ad.

'; $tips_content = '

Tips

You may find it useful to create Zones that are specific to your AMP pages (for instance "AMP Zone 1"). You would then target the Ads that you want to appear in your AMP ages to the AMP specific Zone. You could target the ads directly or via a Placement.

'; $widgets_content = '

Widgets Help

Once you\'ve enabled automatic placement. Go to the Widgets Configuration Page and drag the AdPlugg Widget into the AMP Ads Widget Area. Configure the Widget including the Zone machine name, the width, the height and whether or not you want the Zone to be the "default" ad.

The code from any Widgets in the AMP Ads Widget Area will be automatically distributed thoughout the post\'s content.

Default Ad/Widget

The Widget marked as the "default" will be flagged as the default ad for your AMP pages. This ad will be used for any remaining slots after all ads have been used.

If you have your ads set to rotate you can use this as the only ad/widget and it will be automatically inserted throughout your page.

If you don\'t choose a "default" ad/widget, each widget will be placed once and then the plugin will stop inserting ads.

'; $sidebar_content = '
For more Information:
AdPlugg Help Center
AdPlugg Cookbook
Contact AdPlugg

'; // Overview tab. $screen->add_help_tab( array( 'id' => 'adplugg_amp_overview', 'title' => 'Overview', 'content' => $overview_content, ) ); // Requirements tab. $screen->add_help_tab( array( 'id' => 'adplugg_amp_requirements', 'title' => 'Requirements', 'content' => $requirements_content, ) ); // Tips tab. $screen->add_help_tab( array( 'id' => 'adplugg_amp_tips', 'title' => 'Tips', 'content' => $tips_content, ) ); // Widgets tab. $screen->add_help_tab( array( 'id' => 'adplugg_amp_widgets', 'title' => 'Widgets', 'content' => $widgets_content, ) ); $screen->set_help_sidebar( $sidebar_content ); return $contextual_help; } /** * Gets the singleton instance. * * @return AdPlugg_AMP_Options_Page_Help Returns the singleton instance of * this class. */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } }