How to modify and add items to the breadcrumb

This topic contains 4 replies, has 2 voices, and was last updated by  itero 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #488655

    itero
    Free User
    Post count: 23

    Hello Geodirectory community,

    I’m testing some pieces of code I found in the forum here posted during the last years in order to alterate my breadcrumb (in particular on the listing page) and nothing is working for the moment.

    I just want to modify my functions.php file in order to have a better breadcrumb which can follow the logic of my website in a better way.

    Right now I have :

    HOME > GD_PLACE > MY LISTING SINGLE PAGE

    I would like to have

    HOME > MY DIRECTORY STATIC PAGE > CATEGORY > MY LISTING SINGLE PAGE

    Thanks in advance.

    #488676

    Alex Rollin
    Moderator
    Post count: 27815

    Are you using the Yoast integration with V2? We don’t have any snippets for that at this time, or settings to adjust the output.

    You can make some changes by adsjusting the structure of the URL in the permalinks settings:
    https://wpgeodirectory.com/docs-v2/geodirectory/settings/permalinks/

    #488709

    itero
    Free User
    Post count: 23

    Hello Alex,

    Thanks for your quick answer, yes I can use Yoast or even customize my permalinks in the WP configuration.

    But those configurations are just impacting the URL rewriting and not the breadcrumb constitution.

    As I am not using the custom Yoast SEO breadcrumb, I think the better solution for me will be to insert some code in my functions.php file for specific pages.

    Do you have some functions I can implement quickly in it in order to do this? For example the same mentionned here:

    https://wpgeodirectory.com/support/topic/how-to-add-breadcrumb-to-gd-home/

    Thanks again.

    #488719

    Alex Rollin
    Moderator
    Post count: 27815

    No, we don’t but I will flag your question for the developers in case there is a workaround.

    #488737

    itero
    Free User
    Post count: 23

    Noted, thanks Alex.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount