Home › Forums › Jevelin Theme › How To Set A Custom Permalink For Portfolio categories?
Home › Forums › Jevelin Theme › How To Set A Custom Permalink For Portfolio categories?
Hi,
We use the Jevelin Theme – Digital media agency – demo.
Congratulations for the theme.
Best regards,
George.
Hi there,
Thank you! 🙂
To answer these questions firstly we need to know which theme framework plugin you are using. Redux framework or Unyson framework? (you can find it in the active plugin list)
Best regards,
Shufflehound team
Redux Framework
At the moment we don’t have the option to change it, but that could be done via PHP by using the add filter function. Here is an example:
function example_callback() { Â Â return 'portfolio-new-cat'; } add_filter( 'jevelin_portfolio_category_slug', 'example_callback', 10, 3 );
Can you please create a separate ticket for other issue? So we can keep it organized. 🙂
Hi,
Where to add this php code? I added it to functions.php but it didn’t work.
See attachment.
The portfolio category page returns error 404 and I can’t even change it, from /portofolio/ to /proiecte-cat/.
Please help me.
Kind regards.
Hi,
Can you help us here too? See also our answer above.
_________________________
<div class=”sh-bbp-replies-center-author”>
<div class=”sh-bbp-replies-center-author-left”>
<div class=”sh-bbp-replies-center-author-items”><span class=”bbp-author-name”>zionlion</span>
<div class=”bbp-author-role”>Participant</div>
</div>
</div>
<div class=”sh-bbp-replies-center-author-right”><time class=”sh-timeago” datetime=”2022-10-20T09:16:39Z”>4 days ago</time></div>
</div>
<div class=”sh-bbp-replies-center-description”>
Hi,
Where to add this php code? I added it to functions.php but it didn’t work.
See attachment.
The portfolio category page returns error 404 and I can’t even change it, from /portofolio/ to /proiecte-cat/.
Please help me.
Kind regards.
</div>
Hi there,
We just added our PHP snippet to the functions.php file and it change it successfully.
It seems that we didn’t mention it, but after changing the link structure in WordPress it is recommended to go to Settings > Permalinks and resave them. It will fix the 404 issues and the new links should start working.
Let us know if that works! 🙂
Best regards,
Shufflehound team
Hi,
Not working.
Can you please take a look now?
Now everything works perfectly!
How did you solve the issue because we did the same, but without success?
We are glad that it worked! 🙂
We created a bugfix theme update for that link that didn’t work correctly.
Best regards!
Thank you! 🙂