Okay
  Public Ticket #2222967
Change url portfolio
Closed

Comments

  • MistralBusinessSolutions started the conversation

    We are trying to change the URL for the single portfolio view after navigate into the code we didn't find where we can do that.

    For example, I would to get something like /casos-de-exito/goldcar instead of /porfolio/goldcar.

    If you can provide us some documentation about it or tell us how to do it.

    Thank you

  •  806
    Linh replied

    Hello

    You can add this code to functions.php file of child theme to change it:

    add_filter('insight_core_portfolio_slug', 'brook_child_change_portfolio_slug');
    function brook_child_change_portfolio_slug() {
        return 'casos-de-exito';
    }
    

    Thanks

  • MistralBusinessSolutions replied

    Hello

    It worked but just visually - when you click in the new URL, it ends in a 404 error.

  •  806
    Linh replied

    Hello

    You need go to Settings > Permalinks > select Post Name type and resave it then check again.

    Thanks

  • MistralBusinessSolutions replied

    Links are okay now, but know it doesn´t follow my styles (padding, space, portfolio grid...) and also the name of the page have change to portfolios archive.

  •  806
    Linh replied

    Hello

    What style do you want to change? 

    Please provide some screenshot of the text style so i can help you check it.

    Thanks