Catablog items in breadcrumb
-
Hi all and thanks a lot for this excellent plugin.
Here there is my problem: WEBSITE
When you click on a specific image (ie Bobò) the breadcrumb change
from:
Home › Amici a 4 zampe
to
Home › CataBlog Item › Bobò
instead of
Home › Amici a 4 zampe > BobòBreadcrumb works well on other pages/posts
Permanent link: ok
Enable Individual Pages and Category Archives: YES
Individual Pages Slug: amici-a-4-zampe
Category Pages Slug: catablog-terms
W3 Total Cache: emptyThanks for support
Riccardo
-
Hello Riccardo, I had a look at your website above. When I click on Bobo it takes me to the appropriate link and the breadcrumb is correct as well.
Home › Amici a 4 zampe > Bobò
The browser I used to test your website is Firefox 26.0. What browser are you using? If you are using Firefox like myself, can you delete the browser cache?
Let me know if that helps you.
Kind regards
Hi mbrsolution,
I’m using firefox too. I tried also in anonymous mode, and Chrome or IE and there is always the same behaviourI cleaned cache, etc…
Hello Riccardo, sorry I did not read your original question correctly.
What theme are you using? Have you tried a different theme just to test if a different theme displays your breadcrumbs correctly?
You might like to read this post from Zach, which talks about integrating CataBlog with your theme.
Try changing the Category Pages Slug: catablog-terms and see what happens.
Kind regards
Hi mbrsolution,
I tried to switch to another theme but the problem is still here.
Moreover I tried to modify the Category Page Slug, with no luck.
I noticed that the link in breadcrumb is “http://elenaborrione.it//amici-a-4-zampe/”, with “//”…I copied also my single.php in single-catablog-items.php (adding also the snippet from ‘sub-images’ show) and archive.php in taxonomy-catablog-terms.php. Nothing!
I tried to use YOAST breadcrumb. Unfortunately the crumb can be
– None
– Category (es amici-a-4-zampe)But using this second option the page doesn’t use the template gallery but default.
Thanks for suppport. I close the thread if there is not an answer
Hello riccardorusso79 were you able to resolve your issue?
Unfortunately not 🙁
Maybe my theme (cyberchimps responsive) is buggy. I tried also with YOAST but the breadcrumb can be set or none or Category. But when set to category the page is displayed without template gallery.
I’ve seen also the there is a specific sitemap for catablog posts and the name is http://####.it/catablog-items-sitemap.xml
Hello Riccardo, I did some more investigation on your website. This is what your theme is pulling from CataBlog.
`<span class=”breadcrumb” typeof=”v:Breadcrumb”>
<a href=”http://elenaborrione.it//amici-a-4-zampe/” rel=”v:url”>CataBlog Item</a>
</span>`From the above code you can see that it does pick up the proper URL breadcrumb but it is creating the wrong URL link name. Have a look at your current settings in CataBlog, and also check the template you are using in CataBlog?
Check your current theme settings to see if there are any settings within the theme that allows you to override the URL link you see above.
Also you mentioned that you tried to change to the default theme but that did not solve your issue. Have you tried disabling all plugins and leaving active CataBlog and do some testing to see which plugin might be causing the issue?
Let me know how you go?
Kind regards
Hi mbrsolution,
i’understood my problem. I’ve installed Yoast SEO and now i’m using that breadcrumb interface.The gallery in on a page: http://#####.it/amici-a-4-zampe/ and the breadcrumb is
Home | Amici a 4 zampe
which is the title of the page (Amici a 4 zampe)
Now, when the user clicks on an image he changes the taxonomy (?) and switches from http://######.it/page-sitemap.xml to http://####.it/catablog-items-sitemap.xml
For Yoast SEO, the breadcrumb home for Catablog can be set only to
– NONE
– Catablog Category. <—If I set the individual page slug to “amici-a-4-zampe” and I create all images in catablog using category “Amici a 4 zampe” (slug:amici-a-4-zampe) the link is “http://elenaborrione.it/amici-a-4-zampe/nalam/” and the breadcrumb is
Home | Amici a 4 zampe | Nalam
Nice, BUT the user is the catblog taxonomy.
The “Amici a 4 zampe” in breadcrub now points to
“http://######.it/amici-a-4-zampe-cat-page-slug/amici-a-4-zampe/” whichs is showing me all posts of the catablog category “Amici a 4 zampe”.My desire was to go back to http://#####.it/amici-a-4-zampe/ which is in another taxonomy and I think this is not possible…
FOLLOW UP
HACK:
Add in function.php a search and replace for that specific pages:<?php function replace_breadcrumbs() { echo '<script type="text/javascript">'; echo ' document.body.innerHTML = document.body.innerHTML.replace("/amici-a-4-zampe-cat-page-slug/amici-a-4-zampe/", "/amici-a-4-zampe/")'; echo '</script>'; } if (strpos($_SERVER['REQUEST_URI'],'/amici-a-4-zampe/') !== false) add_action('wp_footer', 'replace_breadcrumbs'); ?>Hi Riccardo, did the hack help you? It is a nifty hack however make sure that it does not affect some other settings.
I use YOAST SEO but I don’t use the breadcrumb settings because my theme has it’s own breadcrumb settings which work flawlessly for me. I agree that YOAST SEO plugin is great that is why I use but I don’t implement all the features for the simple fact that not all features work well in all environments.
Kind regards
Yes, the hack works well !!!!
The topic ‘Catablog items in breadcrumb’ is closed to new replies.