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 Team

    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 read the available documentation and search the forums before posting.
Viewing 2 posts - 1 through 2 (of 2 total)

You need to log in to reply to this topic.