When I put breadcrumb code in single, shows wrong post title
-
I tried several plugins and finally code for breadcrumbs, but all have the same mistake at my theme.
When I put the breadcrumbs in header.php works fine. When I put in single, it shows wrong post title, seems like it picks just any title from the current category.
How to cure that? Now I am using this https://dimox.net/wordpress-breadcrumbs-without-a-plugin/
code but it’s all the same with any plugin.
PLS, HELP
<?php if (function_exists(‘dimox_breadcrumbs’)) dimox_breadcrumbs(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘When I put breadcrumb code in single, shows wrong post title’ is closed to new replies.