Title: Article Extension Default Value
Last modified: December 1, 2018

---

# Article Extension Default Value

 *  Resolved [awpu](https://wordpress.org/support/users/awpu/)
 * (@awpu)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/article-extension-default-value/)
 * How can I set the default value for the Article Extension? It’s an unnecessary
   extra step to have to change it manually each time we make a new post.

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

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/article-extension-default-value/#post-10938127)
 * Hi there!
 * I’m working on it 🙂
    1. Filter wise: [https://github.com/sybrew/the-seo-framework/issues/298](https://github.com/sybrew/the-seo-framework/issues/298).
    2. Option wise, I still need to create an abstract and dynamic options page for
       all extensions to hook into; this requires a lot of planning.
 * The idea is that the options page will allow you to select the enabled post types,
   and thereafter the default Articles type for each post type.
 *  Thread Starter [awpu](https://wordpress.org/support/users/awpu/)
 * (@awpu)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/article-extension-default-value/#post-10943012)
 * I tried this filter, but it’s not re-ordering?
 *     ```
       add_filter( 'the_seo_framework_articles_post_type_support', function( array $types = [] ) {
   
       	// Reorders "post" default selection. The first is auto-selected.
       	$types['post'] = [ 'BlogPosting', 'Article', 'NewsArticle' ];
   
       	return $types;
       } );
       ```
   
    -  This reply was modified 7 years, 5 months ago by [awpu](https://wordpress.org/support/users/awpu/).
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/article-extension-default-value/#post-10943097)
 * Hello again 🙂
 * My apologies for the confusion. The filter was a proposal, and it’s not implemented.
 * I forgot [I implemented another filter](https://theseoframework.com/extensions/articles/#developers).
 * You’d want to use that filter, instead. This is assuming you want `BlogPosting`
   by default:
 *     ```
       add_filter( 'the_seo_framework_articles_default_meta', function( $defaults ) {
       	$defaults['type'] = 'BlogPosting';
       	return $defaults;
       } );
       ```
   
 * The filter above will work for all new posts. It’ll also affect all old posts
   where you haven’t saved the metadata since activating the extensions.
 * I hope this helps! Cheers 🙂
 *  Thread Starter [awpu](https://wordpress.org/support/users/awpu/)
 * (@awpu)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/article-extension-default-value/#post-10943160)
 * Great, thank you.

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

The topic ‘Article Extension Default Value’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [awpu](https://wordpress.org/support/users/awpu/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/article-extension-default-value/#post-10943160)
 * Status: resolved