Customize Portfolio (and Portfolio category) slugs in URLs

  • Resolved
    Posted in: Nalleto WP  

  • Member
    seuils
    December 14, 2014 at 11:25 am #5967

    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!

    Sorry, this forum is for verified users only. Please Login / Register to continue
    or get 6 months support forum access to all forum topics for a reduced price.

Comments are closed.