How NOT to inherit custom structure permalink on portfolio item final URL

[ad_1]

Hi,

I’ve got an issue I’m trying to resolve with regard to the Portfolio Plugin. It has to do with the final URL path of the individual portfolio items.

In my website settings, under Permalinks, I have a custom URL structure set up: /blog/%postname%/. This allows my single posts (blog articles) to be structured with /blog/ as the subdirectory for all my posts.

I have configured the Slug field in the Portfolio plugin (under Settings) to be ‘portfolio‘.

When I click on an individual Portfolio Item, the slug for the item resolves to: /blog/portfolio/[portfolio-item]

I do not want to include ‘/blog/’ in my portfolio items URL.

Can you offer some advice on how to change the final URL structure of the portfolio items?

I assume it has to do with the template type that the portfolio items assume, i.e: they are using a single-post post type. I also assume that a custom function is needed to change the behavior of the portfolio items but I’m not sure how to get started.

Thanks,
David

  • This topic was modified 1 hour, 30 minutes ago by peakwebsites.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer