How To Set A Custom Permalink For Portfolio categories?

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?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    RESOLVED Posts
  • zionlion
    Participant

    Hi,

    1. How To Set A Custom Permalink For Portfolio categories?
    2. Also, the category link in the portfolio returns a 404 error. See this – https://zionlion.ro/portfolio/applications/ . I saw that the permanent link is /portfolio-cat/new-slug, but how can I update / modify it?

    We use the Jevelin Theme – Digital media agency – demo.

    Congratulations for the theme.

    Best regards,

    George.

    Shufflehound
    Moderator

    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

    zionlion
    Participant

    Redux Framework

    zionlion
    Participant

    Hi,

    Another issue, the contact button link in the menu – Digital Media Agency Header (from WPbakery page builder) – CANNOT be modified.

    See Attachment.

    Thank you

    George.

    Attachments:
    You must be logged in to view attached files.

    Shufflehound
    Moderator

    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. ๐Ÿ™‚

    zionlion
    Participant

    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.

    Attachments:
    You must be logged in to view attached files.

    zionlion
    Participant

    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>

    Shufflehound
    Moderator

    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

     

     

    zionlion
    Participant

    Hi,

    Not working.

     

    Shufflehound
    Moderator

    Can you please take a look now?

    zionlion
    Participant

    Now everything works perfectly!

    How did you solve the issue because we did the same, but without success?

    Shufflehound
    Moderator

    We are glad that it worked! ๐Ÿ™‚

     

    We created a bugfix theme update for that link that didn’t work correctly.

    zionlion
    Participant

    Best regards!

    Shufflehound
    Moderator

    Thank you! ๐Ÿ™‚

Viewing 14 posts - 1 through 14 (of 14 total)