WordPress.org

Ready to get started?Download WordPress

Forums

SEO Ultimate
[resolved] Custom post type - Post title default format? (4 posts)

  1. telwp
    Member
    Posted 1 year ago #

    I've recently added a Custom Post Type (CPT) to my blog and there's one thing I'd really like SEOUlt to do...

    On the Default Formats tab in Title Tag Rewriter there's nowhere to specify eg. {post} | Sitename.com as the default title for CPT posts, there are only options for the standard posts/pages/etc.

    Example:
    When I enter a post title in "SEO Settings" meta box it outputs that exact title in the CPT post's <title> tag.
    I'd like to automatically append " | Sitename.com" to the <title> tag for CPT posts instead of doing it manually.

    Any way around this?

    I did try to override it with if statements in my header.php but to no avail (eg. if get_post_type = xyz && is_singular) - SEO Ult seems to take over before my if statement triggers.

    Thanks

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

  2. Jeffrey L. Smith
    Member
    Plugin Author

    Posted 1 year ago #

    Have you tried using the defaults format to accomplish this to see if the output on your CPT is the same ( Post Title Format >>> {post} | {blog})?

    Otherwise, I believe this would quality as feature request for future updates. We have some things on the docket and could look into this, but until now, this is one of the first requests I have seen (good one, but first)...

  3. telwp
    Member
    Posted 12 months ago #

    Apologies for the very late reply to this, I've just taken another look and realised..

    If I enter a Title Tag in the SEO Settings meta box of a post it overrides whatever is in the Title Tag Rewriter settings. So if I leave it blank I get the {post} | {blog} as expected.

    So if I use custom SEO titles I'll need to add my blogname manually in the same field, an option for posts with custom titles to automatically add | {blog} would be great in the future, though.

    Thanks

  4. Jeffrey L. Smith
    Member
    Plugin Author

    Posted 12 months ago #

    Excellent, glad we didn't have to go back to the drawing board on this one.

    All the best,

    Jeffrey

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags