Place RM Breadcrumbs Shortcode via jQuery

#252641
  • Resolved Kristof Gheyssens
    Rank Math free

    Hi,
    We have inserted your Breadcrumbs shortcode in our Elementor Single Blog Post, which works perfectly!
    We would also like to insert the shortcode after our hero section. Unfortunately, both the hero and the rest of the page are made in Elementor, without a template, therefore we cannot insert the shortcode once and call it a day.
    Is it possible to insert the shortcode via jQuery via a snippet? I’ve read on StackExchange that shortcodes are generated on the server and jQuery in the browser, that would mean jQuery will just output [some shortcode] instead of the breadcrumb.
    What woul you suggest to insert the breadcrumb beneath the blue hero section on https://connective.eu/

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support today.

    Yes, the statement from StackExchange is correct. WordPress shortcodes are processed on the backend and this can’t be added through the frontend.

    You would need to hire an expert to further customize our code to apply the breadcrumbs to a specific part of your website.

    if ( function_exists('rank_math_the_breadcrumbs') && is_singular() ) rank_math_the_breadcrumbs();

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Place RM Breadcrumbs Shortcode via jQuery’ is closed to new replies.