Portfolio item URL

  • Author
    Posts
  • #117653
    gjniles
    Power User

    Hi there!
    I’m trying to use a different URL for my projects using Jetpack Portfolio.
    I created a page called “projects”, and I added it the “Portfolio” template. It’s showing the projects and filtering with the categories properly, like your demo.

    But I want that the url that each item are “/projects/item” instead “/portfolio/item”, is it possible with some option?
    Can you help me with this?
    Thanks a lot!!

    #117670
    Zed
    Cryout Creations mastermind

    Hi,

    The URLs are controlled by Jetpack through its custom post type registration process. Based on the code

    			'rewrite' => array(
    				'slug'       => 'portfolio',
    				'with_front' => false,
    				'feeds'      => true,
    				'pages'      => true,
    			),
    

    the slug is not filterable, so you’d have to swap (unhook and replace) a lot of registration code to change the URL.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Portfolio item URL’ is closed to new replies.