New Landing How can we help? Themeforest Theme Support Supreme How to change Portfolio post-type name and URL

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Supreme
  • #39282
    juha
    Member

    Hi guys,

    First I’d like to thank you for awesome theme. I’m updating my site at the moment to work with the theme and there are few things I need a bit help. I’m not exactly a coder, but I’m able to read and alter code pretty well, but I can’t create my own valid code in large scale.

    Anyhow, What I’d like to do is to change “portfolio” post type to “Resource”. Which would fit a bit better to the hockey coaching resources we use portfolio section for.

    So far I’ve done some initial searches and found out that under custom post types the file “portfolio-type.php” I can change the name of the post type (which alters the URL as well) and how it looks on the admin menu. But, once I have manipulated the post type register file on line 54 register_post_type( 'portfolio' , $args ); I can’t no longer see the articles I’ve added under the Portfolio or use the custom-fields Porfolio had (I guess this will affect the page builder as well, haven’t tested that though).

    Would you be able to help me out with this. The most important thing is to change the URL on the front end from “portfolio” to “resource”. I’d like to change the URL’s to SEO friendly as well. So is there an easy way to rewrite the URL’s ? If not would you be able to tell me which files I need to “fix” on top of the “portfolio-type.php” to change all frontend “portfolio” -texts to “resource” and keep the original fuctionalities through out the site.

    Thanks in advance,
    -juha-

    #39966
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Juha,

    You would be best off not renaming the post type, but following this guide here – http://support.swiftideas.net/knowledgebase/portfolio-url-rewrite/

    Hope that helps.

    – Ed

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register