LH Instant Articles

Description

This plugin is a very simple bloat free way of enabling instant articles. At its most basic it creates a facebook compliant RSS feed that allows you to publish Instant Articles to facebook pages. E.G. https://princesparktouch.com/?feed=lh-instant-articles or https://princesparktouch.com/feed/lh-instant-articles/ .

You can and should specify your facebook pade id in the settings screen. You can optionally also include additional post types in the instant articles feed. And by the use of many different hooks you can modify the html outputted in the Instant Articles feed.

It also supports:

  • Adding related posts (see faq)
  • Adding analytics and tracking (see faq)

Installation

From your WordPress dashboard

  • Visit ‘Plugins > Add New’
  • Search for ‘LH Instant Articles for WP’
  • Activate the plugin on your Plugins page
  • Go to Settings -> Instant Articles in the WordPress menu and specify the settings.

From WordPress.org

  • Download LH Instant Articles
  • Upload the uncompressed directory to ‘/wp-content/plugins/’
  • Activate the plugin on your Plugins page
  • Go to Settings -> Instant Articles in the WordPress menu and specify the settings.

FAQ

Why use this plugin over the the other instant article plugins?
  • Three reasons. Firstly it is simpler and just works, secondly it integrates perfectly with the other LH plugin.
How do I change the behaviour of this plugin?
  • Through filters, all of which are commented in the code and will be documented.
Can I choose what post types are shown in the Instant Article feed?
  • Yes, in the post editor for every post is an option to send to Instant Articles, by default this is set to yes but if want to exclude an post (or custom post type), set it to no.
What post types are included in the feed?
  • By default just posts are in the feed, but if you wish to publish other posts types (eg pages) as instant articles you can add them via the settings screen.
How can I add related articles to me instant articles?
  • Install the LH Jetpack Related Posts plugin from the repository. Whilst on the front end this requires jetpack, this will work in your instant article feed whether jetpack is installed or not. To set the related articles go the the post edit screen and use the related posts metabx.
How can I add analytics or tracking?

Go to settings and add your analytics or tracking code, for inline tracking you must enclose the script tags within and iframe, otherwise include and iframe with a src attribute.

Reviews

Read all 1 review

Contributors & Developers

“LH Instant Articles” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.00 – September 10, 2016

  • Initial release

1.01 – September 16, 2016

  • Minor tweaks

1.02 – September 27, 2016

  • Option to include other post types

1.03 – October 3, 2016

  • Settings Api and extra filter

1.04 – October 16, 2016

  • Replace non standard tags

1.05 – November 06, 2016

  • Better nesting support

1.06 – January 02, 2017

  • Moved dom cleanup to its own class

1.07 – January 10, 2017

  • Minor fix

1.08 – February 20, 2017

  • Better Settings

1.09 – March 20, 2017

  • Tracking code and better faq