Community Forums › Forums › Archived Forums › Design Tips and Tricks › Minimum – Change www.(…)/portfolio to something else
Tagged: minimum
- This topic has 7 replies, 3 voices, and was last updated 12 years, 7 months ago by
eliserochelle.
-
AuthorPosts
-
April 1, 2013 at 11:07 am #32471
neomatrix321
MemberHello,
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 #32739neomatrix321
MemberAnybody know how to accomplish this?
April 12, 2013 at 9:07 am #35004purplepatriot
MemberHi neomatrix321,
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!
Thanks,
Eric
Eric @ Coolwater Creative – “Take a leap. Make a splash. Ripple the pond.”
“Never sacrifice the permanent on the altar of the immediate.” – Give back and help out in the forums.April 12, 2013 at 2:56 pm #35079neomatrix321
MemberPurplePatriot,
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 #35177purplepatriot
MemberUp above that line, where it says:
'labels' => array( 'name' => __( 'Portfolio', 'minimum' ), 'singular_name' => __( 'Portfolio', 'minimum' ),
Replace the word 'Portfolio' with your preferred word(s).
Eric @ Coolwater Creative – “Take a leap. Make a splash. Ripple the pond.”
“Never sacrifice the permanent on the altar of the immediate.” – Give back and help out in the forums.April 15, 2013 at 12:10 pm #35589neomatrix321
MemberThank you so much PurplePatriot!
April 15, 2013 at 4:50 pm #35647purplepatriot
MemberYou are welcome - glad to help!
Eric @ Coolwater Creative – “Take a leap. Make a splash. Ripple the pond.”
“Never sacrifice the permanent on the altar of the immediate.” – Give back and help out in the forums.May 27, 2013 at 5:26 pm #42837eliserochelle
MemberHey thanks that helped me also
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.