Okay
  Public Ticket #3699011
add Hook For RankMath
Closed

Comments

  •  4
    Mr Saeed started the conversation

    Hi Theme Nectar

    in 16.3.1 cant show BraedCrumb RankMath after addd this , now is ok:
    Salient>nectar>hooks>action.php :


    // Before content.
    add_action('nectar_hook_before_content', 'nectar_rank_math_breadcrumbs');

    /**
     * Add RankMath breadcrumbs before content.
     *
     * @since 10.1
     */

    function nectar_rank_math_breadcrumbs() {
      if ( function_exists( 'rank_math_the_breadcrumbs' ) && ! is_home() && ! is_front_page() ) {
        rank_math_the_breadcrumbs();
      }
    }


    Best Regard

  •  2,966
    Andrew replied

    Hi Mr. Saeed,

    Thank you for reaching out to us.

    To clarify, were you able to sort out this issue?

    We look forward to your reply.

    Thanks,

  •  4
    Mr Saeed replied

    Hi Andrew

    Yes. after add this, RankMath BreadCrumb Work Good (add some style too)