Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1130947
Breadcrumbs issue
Closed

Comments

  • Sara_IDS started the conversation

    Hi, 

    I've an issue with the breadcrumbs in the portfolio item page. I've attached an image where you can see that after home, there is the breadcrumb named "Portfolio Item" which is clickable but doesn't correspond to any page; that means if an user click it will reach a 404 page. 

    How can I avoid it? Is there any way to manage or customize the breadcrumbs? 

    Maybe it is also linked to an other issue: the same portfolio item url is "www.mywebsite/portfolios/item-name", again the page "portfolios" doesn't exist and it will be a problem that provides another 404 page. 

    Finally, I would like to replace also the name "home" in the breadcrumbs with the name of the company. SEO by YOAST has this option in the settings, but it doesn't seem to work with theme settings. Can you please help me?

    Thank you for your support! 

    Sara

    P.s. unfortunately I'm not allowed to provide you the website URL due to classiefied data. 

  •  7,092
    Oliver replied

    HI!

    1. Just create the page with portfolios permalink. 

    2. You can edit:

    /wp-content/themes/thegem/functions.php  

    function gem_breadcrumbs() 

    Line 1798 or translate it:

    1. Take file languages/thegem.pot or xx_YY.po from theme directory .

    2. Open file with Poedit software.

    3. Translate necessary strings to your language.

    4. In software open Catalog - Settings and set Language to Translation to xx_YY.

    5. Then save file as thegem-xx_YY. You must have two files thegem-xx_YY.po and thegem-xx_YY.mo.

    6. These files you need to put to the wp-content/languages/themes of your site.

    With same operation you can translate TheGem elements plugin.

    Just put  translations in wp-content/languages/plugins

     


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Sara_IDS replied

    Hi Gregor, thank you for your quick reply. 

    In reality, my issue is not related to the language (english is fine). The issue is the breadcrumbs that automatically put between home and my portfolio item, another breadcrumbs "Portfolio Items" that is not an existing page. 

  •  7,092
    Oliver replied

    Sorry, in order to remove it you need to edit

    /wp-content/themes/thegem/functions.php 

    function gem_breadcrumbs() 

    You need to create a new check on the portfolio post type. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Sara_IDS replied

    Ok, I can easily see how to change the name for "home"; but I cannot understand where it defines the "portfolio items". 

  •  7,092
    Oliver replied

    It's like the  category, you need to create a custom check on portfolio post type, sorry, it's not few lines of the code. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Sara_IDS replied

    Sorry, but it seems to be an error in the template, or the theme is made for having wrong breadcrumbs? 

  •  7,092
    Oliver replied

    The post simple way is to create a page with permalink portfolios and set the redirect to subpage on this page of you need or show list of the portfolios there. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver