Title: Adding a common Container to Articles
Last modified: September 26, 2018

---

# Adding a common Container to Articles

 *  Resolved [luxurytraveldiary](https://wordpress.org/support/users/luxurytraveldiary/)
 * (@luxurytraveldiary)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/adding-a-common-container-to-articles/)
 * We’ve used this excellent plugin since release to publish our posts on Apple 
   News.
 * Just lately we’ve been playing around with Apple’s JSON format, adding a “container”
   to some example articles to produce a common footer for our Apple News channel.
 * We’d now like to add this new “container” to all the articles generated and published
   by Publish To Apple News.
 * From a quick look at the plugins stock functionality, i.e. Customize JSON and
   Themes, there doesn’t seem to be a way to add this container and the other accompanying
   elements it requires, (styles and layout).
 * Before I start to hack about, I was wondering if anyone had experience or a vague
   idea regarding the best way to add this custom element to articles produced by
   Publish To Apple News.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Kevin Fodness](https://wordpress.org/support/users/kevinfodness/)
 * (@kevinfodness)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/adding-a-common-container-to-articles/#post-10877306)
 * I would recommend taking a look at the apple_news_generate_json filter: [https://github.com/alleyinteractive/apple-news/wiki/Action-and-Filter-Hooks#includesapple-exporterclass-exporterphp](https://github.com/alleyinteractive/apple-news/wiki/Action-and-Filter-Hooks#includesapple-exporterclass-exporterphp)
 *  Thread Starter [luxurytraveldiary](https://wordpress.org/support/users/luxurytraveldiary/)
 * (@luxurytraveldiary)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/adding-a-common-container-to-articles/#post-10878937)
 * Many thanks for the link Kevin. My bad, completely missed the wiki on github.
   That filter’s just what I’m after.
 *  [mark333](https://wordpress.org/support/users/mark333/)
 * (@mark333)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/adding-a-common-container-to-articles/#post-11358983)
 * [@luxurytraveldiary](https://wordpress.org/support/users/luxurytraveldiary/) 
   can i ask what the code you added to functions.php was that enabled you to add
   a footer to the bottom of the apple news article?
 * Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Adding a common Container to Articles’ is closed to new replies.

 * ![](https://ps.w.org/publish-to-apple-news/assets/icon-256x256.png?rev=3017580)
 * [Publish To Apple News](https://wordpress.org/plugins/publish-to-apple-news/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/publish-to-apple-news/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/publish-to-apple-news/)
 * [Active Topics](https://wordpress.org/support/plugin/publish-to-apple-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/publish-to-apple-news/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/publish-to-apple-news/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [mark333](https://wordpress.org/support/users/mark333/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/adding-a-common-container-to-articles/#post-11358983)
 * Status: resolved