WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type Editor
[resolved] Changing Custom Post Title (4 posts)

  1. rachsahni
    Member
    Posted 2 years ago #

    Hi,
    I am trying to use this plugin to change the Custom Post Type in Woo from "Portfolio" to "Our Team". It seems to work on my WordPress dashboard, and in the breadcrumbs but not at the top of the page itself on the website here: http://www.perfectlysocial.com/team/

    I'm not sure why this is. Can anyone help? Am I doing something wrong?

    http://wordpress.org/extend/plugins/cpt-editor/

  2. James Collins
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    I notice that you're using the Whitelight theme v1.1.6.

    WooThemes have updated some of their themes so that they work correctly with this plugin, which means that you need to be using Whitelight v1.1.19 or newer.

    Versions prior to that had a but where the "Features" title was hard-coded in Whitelight.

    See http://www.woothemes.com/support-forum/?viewtopic=75498 for more information.

    James

  3. immanence
    Member
    Posted 2 years ago #

    I also faced the same problem. Using the plugin didn't affect breadcrumbs and didn't affect the URL structure my theme creates to serve the custom posts (in my instance, example.com/works/postname whereas I wanted example.com/cases/postname). Does anyone know of a way to alter this without breaking things? I tried editing 'rewrite' => true, under $args = array( ... changing to 'rewrite' => array( 'slug' => 'cases' ), but this broke a portfolio page function in my theme for collating together categories of the original custom page. So I had to revert back to square one. Now, via the plugin, the names are correct in Dashboard, but in the frontend things are not how I want them.

    Anyone know a better plugin to use to rename an EXISTING custom post type globally without breaking other things?

  4. James Collins
    Member
    Plugin Author

    Posted 2 years ago #

    Hi immanence,

    This plugin allows you to customise the labels of a Custom Post Type.

    It doesn't allow you do other things such as changing the Custom Post Type's slug.

    If a theme hard-codes the names/labels of the custom post type (for example in it's breadcrumb), then this plugin is unable to override it.

    The plugin overrides the custom post type's registered labels, but it is still up to the theme to correctly display a CPT's label(s).

    As an example, recently I found that some WooThemes were hard-coding the custom post type name on custom post type archive pages. I contacted WooThemes, and suggested that their archive templates use the post_type_archive_title() function instead, and once they made that change then the customised CPT label was used on the archive page.

    I hope that helps.

    James

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic