Support ForumCustomize Portfolio (and Portfolio category) slugs in URLs – Support Forum https://support.ishyoboy.com/forums/topic/customize-portfolio-and-portfolio-category-slugs-in-urls/feed/ Sat, 04 May 2024 15:24:44 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/customize-portfolio-and-portfolio-category-slugs-in-urls/#post-5967 <![CDATA[Customize Portfolio (and Portfolio category) slugs in URLs]]> https://support.ishyoboy.com/forums/topic/customize-portfolio-and-portfolio-category-slugs-in-urls/#post-5967 Sun, 14 Dec 2014 09:25:04 +0000 seuils May we kindly ask you to do for Nalleto, what you wisely did for Minicorp WP?

As described here:

Changing the portfolio slug in URLs

That is, in the following parent theme file:
wp-content\themes\nalleto\assets\framework\wp\posts\post-types\portfolio-post-type.php

Wrapping both following functions inside a function existence check:
– function ishyoboy_portfolio_post_type()
– function ishyoboy_portfolio_category()

This way, we could update our child functions.php with a custom version of them – overriding the portfolio plugin without fear of a theme update.

We also well noted the need to re-save the Permalinks settings under Settings -> Permalinks as this will re-generate all rewrite rules again (otherwise we’d be getting 404 errors).

Thanks!

]]>
https://support.ishyoboy.com/forums/topic/customize-portfolio-and-portfolio-category-slugs-in-urls/#post-5982 <![CDATA[Reply To: Customize Portfolio (and Portfolio category) slugs in URLs]]> https://support.ishyoboy.com/forums/topic/customize-portfolio-and-portfolio-category-slugs-in-urls/#post-5982 Mon, 15 Dec 2014 06:24:58 +0000 IshYoBoy Hey,

Sure thing! It’s already implemented and in the pipeline for the next update ;)
And, yes! The permalinks need to be re-saved anytime you do any change to their structure ;)

So we confirm the change request above will be part of the next update.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>