April 1, 2013 at 11:07 am #32471
I recently purchased the minimum theme for the responsive design and the portfolio capabilities. I was wondering where/how i would change the url extension of the portfolio section.
For example using the studiopress theme demo page I would like to change the section in bold to something else: http://demo.studiopress.com/minimum/portfolio/
The theme automatically puts /portfolio for that section.
How could i accomplish this?
Thanks StudioPress community for your help!April 2, 2013 at 4:10 pm #32739
Anybody know how to accomplish this?April 12, 2013 at 9:07 am #35004
I am looking at this, too. Just tried this and it worked.
1. Open up functions.php (either in a text editor or via the backend under Appearance->Editor.
2. Look at line 138 – if you are changing via the backend, scroll down until you see
/** Create portfolio custom post type */
and the line you need says this:
‘rewrite’ => array( ‘slug’ => ‘portfolio’ ),
Change ‘portfolio’ to whatever you want to call it – ‘videos’ or ‘cupcakes’ or whatever.
3. After saving the change, go to Settings->Permalinks and simply click on ‘Save Changes.’ That should do it. Let me know!
April 12, 2013 at 2:56 pm #35079
Thank you so much that was exactly what i was looking to correct! You are my hero
Now i still have “Portfolio” at the top of the page as the name of the page, would you happen to know how to change that as well? What i am referring to is if open the portfolio section that i just changed it still says portfolio next to the Genesis graphic in the browser tab.
This section is difficult because its not a page per say so i cant just go to edit pages and change the title.
Thanks for your help!April 12, 2013 at 10:31 pm #35177
Up above that line, where it says:
‘labels’ => array( ‘name’ => __( ‘Portfolio’, ‘minimum’ ), ‘singular_name’ => __( ‘Portfolio’, ‘minimum’ ),
Replace the word ‘Portfolio’ with your preferred word(s).
April 15, 2013 at 12:10 pm #35589
Thank you so much PurplePatriot!April 15, 2013 at 4:50 pm #35647May 27, 2013 at 5:26 pm #42837
Hey thanks that helped me also
You must be logged in to reply to this topic.