Okay
  Public Ticket #2357572
Portfolio Archive page title
Closed

Comments

  • jcardena started the conversation

    Hi! On the Kalium Travel template, the Portfolio Archive page title is "Tours" as opposed to the basic "Portfolio". I'm wondering how I can edit my Portfolio Archive page title for my site correctly. Would I need to edit the Portfolio page template via FTP? Thanks!

  •  1,558
    Laborator replied

    Hi there,

    If you're talking about the slug "tours" then you have to edit it here:

    medium
    (view large version)

    To make sure they get applied go to Settings > Permalinks and save the changes after you've done here.

    If you want to change the title only and not the slug, go here and change it:

    medium
    (view large version)


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   jcardena replied privately
  •  1,558
    Laborator replied

    Hi there,

    1. Just make sure you don't have any page which has the same slug and you save the permalinks under Settings > Permalinks

    2. We are aware of this issue, please follow this article to fix this problem.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • jcardena replied

    Hi Art,

    Thanks for this info. I was able to resolve #2 :) 

    Unfortunately, I'm still having issues with #1. Below are some things I did to ensure there were no conflicts occurring, but in all cases, the custom Portfolio slug redirects to show the Blog archive:

    • I made sure there was no pages with the same slug
    • Tested multiple slugs
    • Disabled all plugins
    • Tried the same thing on Kalium parent theme

    Any help would be greatly appreciated. I'm very confused, as I've never had this problem with Kalium before on other installs.

    Thanks so much for your help!

  •  1,558
    Laborator replied

    Hi there,

    I will assign this ticket to a more experienced team member who can help you on this issue, it may take more time than usual for the reply but I don't have a clue why this is happening.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • jcardena replied

    Sounds good, thanks! Luckily, this "/stage" Portfolio archive isn't super crucial for us publicly. Worst case, I'm thinking I can set up a redirect to another page for a temporary solution.

    We're looking to launch our site on Saturday, May 2. I understand COVID-19 is causing delays, so if y'all are able to get to it before then, that's awesome.

    Thanks!

  •  1,558
    Laborator replied

    Hi there,

    We have fixed this issue by adding this code to functions.php of your child theme:

    // Fix portfolio displaying "blog"
    add_action( 'init', function() {
        add_rewrite_rule( '^stage\/?', 'index.php?post_type=portfolio', 'top' );
    } );
    

    Preview:

    https://cmhaustin20.com/stage/

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group