The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Problem with custom posts (3 posts)

  1. immanence
    Posted 4 years ago #

    hi. I'm using a theme that uses custom posts. I really struggle with code, so I struggled to understand sections of the Codex on this, so I thought I'd make a post. Basically, I want to rename one of the custom posts the theme uses.

    If you look here you'll see what I'm talking about: http://secondskn.com/portfolio/omaha/

    I want to get rid of "portfolio" and have that named "products". I managed to rename some parts of the theme (for example, in the backend, it now says Product Item instead of Portfolio Item), but I'm having trouble getting the structure underneath to change (that is, without breaking everything).

    For example, on the page above, look at the breadcrumbs. It says Home >> Product >> Omaha, but if you hover over Product you'll see that the URL is actually to Portfolio.

    Basically, I need some help to identify what to change and where.

    I considered simply renaming EVERYTHING in the theme files that had portfolio in it, to products. But this is probably not best practice.

    Any and all help greatly appreciated!

  2. immanence
    Posted 4 years ago #


  3. skapator
    Posted 4 years ago #

    take a look here:


    You should search your functions.php of the theme and find where it registers the custom post.

Topic Closed

This topic has been closed to new replies.

About this Topic