• Been very happy with this plugin, which takes the somewhat daunting task of setting up instant articles and makes it manageable. Support very responsive even for free version, which I really appreciate.

    I am hoping they make pages avail to the Instant Article feed at some point, that would be very helpful for me. But regardless, I can highly recommend this plugin. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author OzTheGreat

    (@ozthegreat)

    Hi @goddess_dix thanks for the great review!

    I’ll check toorrow when I’m in work but I think that’s perfectly possible at the moment by just adding ?post_type[]=post&post_type[]=page onto the URL you submit to Facebook

    Plugin Author OzTheGreat

    (@ozthegreat)

    Hi @goddess_dix,

    Unfortunately what I thought above won’t actually work as WP explicitly stops you including pages in that way. However, if you add the code below to your theme’s functions.php file it should add pages into your RSS feed (though bare in mind pages don’t have categories, tags etc). Give it ago and let me know if you have any issues.

    Thanks

    function wpna_custom_add_pages_to_rss( $query ) {
    	// Check the function exists incase the plugin has been disabled.
    	if ( function_exists( 'wpna_get_option' ) ) {
    
    		// Requested option name, / value to default to.
    		$feed_slug = wpna_get_option( 'fbia_feed_slug' );
    
    		if ( $query->is_feed( $feed_slug ) && $query->is_main_query() ) {
    
    			$post_types = array( 'post', 'page' );
    			$query->set( 'post_type', $post_types );
    
    		}
    
    	}
    
    	return $query;
    }
    add_filter( 'pre_get_posts', 'wpna_custom_add_pages_to_rss', 10, 1 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Great plugin, user friendly’ is closed to new replies.