Minimum – Change www.(…)/portfolio to something else

Community Forums Forums Design Tips and Tricks Minimum – Change www.(…)/portfolio to something else

This topic is: resolved

Tagged: 

This topic contains 7 replies, has 3 voices, and was last updated by  eliserochelle 1 year, 1 month ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #32471

    neomatrix321
    Blocked
    Post count: 31

    Hello,

    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!

    #32739

    neomatrix321
    Blocked
    Post count: 31

    Anybody know how to accomplish this?

    #35004

    purplepatriot
    Participant
    Post count: 34

    Hi 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

    [html]/** Create portfolio custom post type */[/html]

    and the line you need says this:

    [html] ‘rewrite’ => array( ‘slug’ => ‘portfolio’ ),[/html]

    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.

    #35079

    neomatrix321
    Blocked
    Post count: 31

    PurplePatriot,

    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!

    #35177

    purplepatriot
    Participant
    Post count: 34

    Up above that line, where it says:

    [php]‘labels’ => array(
    ‘name’ => __( ‘Portfolio’, ‘minimum’ ),
    ‘singular_name’ => __( ‘Portfolio’, ‘minimum’ ),[/php]

    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.

    #35589

    neomatrix321
    Blocked
    Post count: 31

    Thank you so much PurplePatriot!

    #35647

    purplepatriot
    Participant
    Post count: 34

    You 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.

    #42837

    eliserochelle
    Participant
    Post count: 14

    Hey thanks that helped me also

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

You must be logged in to reply to this topic.