Support » Plugin: WP Native Articles - Facebook Instant Articles Plugin for WordPress » How to connect two pages to two categories of one site?

  • Resolved Astraport

    (@astraport)



    Hi,

    I have one site and I need to use Instant Articles from it in two fanpages – every page in selected category of the website.
    How to do it?
    Thanks

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

    (@ozthegreat)

    Hi,

    I’m sorry I don’t quite follow. You have one WordPress site and two Facebook Pages? And you want to publish Instant Articles to both, is that correct? If so then you shouldn’t need to, if you just publish instant articles to one Facebook page, when they’re shared by the other facebook page they should be automatically picked up. However, if you do want to sync to both you should just be able to point both at your RSS Feed.

    All the best

    @ozthegrea
    Thanks for your reply.
    For example, my site has several categories and I want to connect a separate page to each category. Is it possible?

    Plugin Author OzTheGreat

    (@ozthegreat)

    Hi,

    Ahh I see. Yes that should be possible. With the URL to the RSS feed you can pass in WP_Query params. So, to only show posts in a category with ID of 5 you’d do:

    https://wordpress.dev/feed/facebook-instant-articles?cat=5

    So for each Facebook Page you want to connect, just change the category ID to be whatever you need.

    Does that make sense?

    All the best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to connect two pages to two categories of one site?’ is closed to new replies.