How to show custom breadcrumbs?

#971562
  • Dear support,
    Is it possible to add custom breadcrumbs as Home / Dealstore / Shopify Coupons on the custom taxonomy pages such as Shopify coupons. There Home[home link] / Dealstore[https://cbshop.in/all-stores/] (Static page link) / Shopify Coupons[Current page title].

    I will be very thankful if got help and also motivate me to buy the Pro for my clients.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing. To show custom breadcrumbs like Home / Dealstore / Shopify Coupons on your custom taxonomy pages, you can use the Rank Math Breadcrumbs feature. Here’s how you can achieve that:

    1. Enable Breadcrumbs: First, ensure that breadcrumbs are enabled in your Rank Math settings. You can do this by navigating to Rank Math > General Settings > Breadcrumbs and enabling the feature.

    2. Customize Breadcrumbs: You can customize the breadcrumbs for your custom taxonomy by using the Breadcrumb Title option in the Rank Math Meta Box for your custom taxonomy terms. This allows you to set a specific title that will appear in the breadcrumbs.

    3. Add Custom Links: To add static links like Dealstore, you may need to modify the breadcrumb output using a filter in your theme’s functions.php file. Here’s an example of how you might do this:

      add_filter( 'rank_math/breadcrumbs/items', function( $items ) {
         // Add a custom item before the current page
         $items[] = [
             'name' => 'Dealstore',
             'url'  => 'https://rankmath.com/kb/titles-and-meta/#primary-taxonomy',
         ];
         return $items;
      });

      This code snippet adds a custom breadcrumb item for Dealstore before the current page title.

    4. Use Shortcode: If you want to display breadcrumbs in a specific location, you can use the shortcode [rank_math_breadcrumb] in your template files or post content.

    For more detailed instructions, you can refer to our guide on how to enable breadcrumbs.

    If you have any further questions or need assistance with specific code implementations, please reply to this ticket, and a human agent from our support team will assist you further.

    Thank you for considering Rank Math Pro for your clients! We’re here to help you succeed.

    Sources:
    How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    Thank you for contacting us and bringing your concern to our attention.

    It looks like there are no Rank Math Breadcrumbs currently added to this page. Please try to add the breadcrumbs on this page first by following the steps mentioned here: https://rankmath.com/kb/breadcrumbs/

    Once done, you can check this URL on how to customize the Rank Math breadcrumbs: https://rankmath.com/kb/customize-breadcrumbs-in-rank-math/

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this ticket.