Home » » Tambah Breadcumb pakai Rankmath

Tambah Breadcumb pakai Rankmath

Use the following code in your theme template files to display breadcrumbs. Learn More
<?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?> OR [rank_math_breadcrumb]

 

 

 

 Letakan kode pada content-single.php

if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs();



disini:
                /**
                 * generate_before_entry_title hook.
                 *
                 * @since 0.1
                 */
                do_action( 'generate_before_entry_title' );
if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs();
                if ( generate_show_title() ) {
                    $params = generate_get_the_title_parameters();

                    the_title( $params['before'], $params['after'] );
                }

0 komentar:

Post a Comment