id : null ); if( $screen_id == 'adplugg_page_adplugg_facebook_settings' ) { //Show notice if fb-instant-articles plugin isn't found. if ( ! defined( 'INSTANT_ARTICLES_SLUG' ) ) { $fb_instant_articles_not_found_notice = AdPlugg_Notice::create( 'notify_fb_instant_articles_not_found', 'Facebook Instant Articles for WP plugin not found.', 'error' ); $fb_instant_articles_not_found_notice->render(); } } } /** * Function to initialize the AdPlugg Facebook Options page. */ public function admin_init() { register_setting( 'adplugg_facebook_options', ADPLUGG_FACEBOOK_OPTIONS_NAME, array( &$this, 'validate' ) ); add_settings_section( 'adplugg_facebook_instant_articles_section', 'Facebook Instant Articles', array( &$this,'render_facebook_instant_articles_section_text' ), 'adplugg_facebook_instant_articles_settings' ); add_settings_field( 'ia_enable_automatic_placement', 'Automatic Placement', array( &$this, 'render_ia_enable_automatic_placement_field' ), 'adplugg_facebook_instant_articles_settings', 'adplugg_facebook_instant_articles_section' ); } /** * Function to render the AdPlugg Facebook options page. */ public function render_page() { ?>

Facebook Settings - AdPlugg

To have AdPlugg ads automatically inserted into your Facebook Instant Articles feed, do the following:

  1. Ensure that you have the Facebook Instant Articles for WP plugin installed.
  2. Enable automatic placement by clicking the checkbox below.
  3. Go to the Widgets Configuration Page and drag the AdPlugg Widget into the Widget Area entitled "Facebook Instant Articles Ads" (note you can add multiple widgets if desired).

See the help above for more info.