Title: Post Type archives
Last modified: April 9, 2018

---

# Post Type archives

 *  Resolved [John Huebner](https://wordpress.org/support/users/hube2/)
 * (@hube2)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/post-type-archives/)
 * How to I edit, modify title and description on post type archive pages?
 * for example, I add a post type named ‘product’ I have a url at [http://www.somesite.com/product/](http://www.somesite.com/product/)
 * how do I set/alter title and description for this page?

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

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/post-type-archives/#post-10161922)
 * Hi [@hube2](https://wordpress.org/support/users/hube2/),
 * I’ve yet to start working on this feature, but it’s planned for the next extension:
   
   [https://github.com/sybrew/the-seo-framework/issues/20](https://github.com/sybrew/the-seo-framework/issues/20)
 * It’s currently possible via filters, but in the next major release, I want to
   standardize the title output flow; so, that filter might not work then.
 * In the meantime, you could use something like below, where you need to adjust
   the two “custom” lines:
 *     ```
       add_action( 'the_seo_framework_front_init', function() {
       	if ( is_post_type_archive( 'product' ) ) {
       		//= Disables automated description generation.
       		add_filter( 'the_seo_framework_enable_auto_description', '__return_false' );
   
       		//= Sets custom "generated" description.
       		add_filter( 'the_seo_framework_generated_description', function() {
       			return 'My custom archive description';
       		} );
   
       		//= Overwrites title. Might not work after TSF 3.1+
       		//? Title additions are processed automagically.
       		add_filter( 'the_seo_framework_pre_add_title', function() {
       			return 'My custom title';
       		} );
       	}
       } );
       ```
   
 *  Thread Starter [John Huebner](https://wordpress.org/support/users/hube2/)
 * (@hube2)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/post-type-archives/#post-10161951)
 * Thanks, That’s what I was looking for. I’ve put filters in place. I currently
   have ACF options pages to hold the values for these pages so that clients can
   manage it themselves. I’ll watch for changes to this plugin and change it when
   I need to.

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

The topic ‘Post Type archives’ 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/)

## Tags

 * [archives](https://wordpress.org/support/topic-tag/archives/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Huebner](https://wordpress.org/support/users/hube2/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/post-type-archives/#post-10161951)
 * Status: resolved