WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Resolved] [Plugin: WordPress SEO by Yoast] what's the tag for cust post type CATEGORY in title?

[Resolved] [Plugin: WordPress SEO by Yoast] what's the tag for cust post type CATEGORY in title?

  • WordPress version: 3.4
    WordPress SEO version: Version 1.2.4

    I did this: put %%category%% for title to insert category name, BUT it’s a custom post type called “Products” and has its own product-category that’s different from the regular WP categories.

    I expected the plugin to do this: insert the category into the title tag

    Instead it did this: inserted nothing because I need a different code to put in that calls for the custom category for products.

    Question:
    What is the code to access a custom post type category for a title?

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Jivyb,

    I might be able to help you, as I use custom post types with this plugin and they have their own custom taxonomy for their “categories”.

    What I use in the title is %%term_title%%, which will return the custom taxonomy name.

    Hope that helps!

    Excellent. That’s what I needed. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] what's the tag for cust post type CATEGORY in title?’ is closed to new replies.
Skip to toolbar