Title: Article Extension
Last modified: December 11, 2018

---

# Article Extension

 *  Resolved [theukdirectory](https://wordpress.org/support/users/theukdirectory/)
 * (@theukdirectory)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/article-extension/)
 * Is there a way to set the default article type based on category?
 * I have a news category, and a articles category on my site and I’d like any posts
   to automatically default to the correct type without having to manually set them.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/article-extension/#post-10973928)
 * Hi there!
 * As we can’t predetermine to which category the post is going to belong, the extension
   registers [a preset default](https://theseoframework.com/extensions/articles/#developers)
   to be used in the post meta settings’ drop-down, after which it locks and applies
   the selected option.
 * Nevertheless, it is possible to hijack this information as it’s sent to the server,
   right before it’s saved. We could determine the assigned category, and then override
   the POST-action meta value; however, the usability and accessibility of the settings
   will be severely penalized: Your input won’t be honored.
 * As I’m not 100% familiar with the new Block Editor, recently brought with WordPress
   5.0, I can’t give a concrete solution that’ll last and work with both the Classic
   Editor and the new one.
 * Programming helps in making your life easier and less error-prone, but I don’t
   think this should be applied in all imaginable scenarios, just “because we can.”
 * So, if most of your posts are of the NewsArticle type, then I suggest setting
   that as a default, which I’ve documented as an example in the developer section
   of the extension’s overview page.

Viewing 1 replies (of 1 total)

The topic ‘Article Extension’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/article-extension/#post-10973928)
 * Status: resolved