I am building a WordPress website. I have installed Yoast SEO plugin and copy the code below to single.php in theme editor as their guide mentioned
<?php
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>
Then I enabled the breadcrumb function. And when I check the post page in desktop mode, the breadcrumb is displayed far out of the main post blog. Can anyone help me fix the position of the breadcrumb trail? Thank you so much! Link to my post site
Aucun commentaire:
Enregistrer un commentaire