Hey there,
I noticed this plugin hasn’t been updated in a while. Any thoughts toward making sure it’s up-to-date? Or, perhaps, having someone else step up to maintain it? I’d be interested contributing.
Thanks.
]]>testet on plugin version 0.0.5:
…but: doesn’t work when viewing a custom post type archive combined with a custom taxonomy, e.g:
https://myurl.com/taxonomyname/termname/?post_type=mycptname
and another issue, related to the same problem causes a php error (on strict mode)
you should atleast use ‘isset’ at line 475 of HAG_Crumb.php, e.g. change to:
if (is_null($pt) || is_wp_error($pt) || !isset($pt->has_archive)) return $crumbs;
Hallo, guten tag, installed the plugin, inserted code into post template, it only shows the Main Category, not the sub category. Shows:
Home ? ARTISTS & CRAFTSPEOPLE ~ USA ? SPLASH GALLERY, OLYMPIA, WA
Should show:
Home ? ARTISTS & CRAFTSPEOPLE ~ USA >> Permanent Exhibitions? SPLASH GALLERY, OLYMPIA, WA
View example:
https://artandcraftconnection.com/splash-gallery-olympia-wa/ ..should be:
Any ideas? Danke schoen!
Hi, your code print:
<p id="breadcrumbs" itemprop="breadcrumb" >
<a href="https://site.com/" >Home</a> »
<a href="https://site.com/category/software/" >Software</a> Software</p>
But, should not be this way?
//loop>
echo '
<div itemscope itemtype="https://data-vocabulary.org/Breadcrumb">
<a href="'.$url.'" itemprop="url"><span itemprop="title">'.$v.'</span></a> ? </div>';
//loop>
google Rich snippet:
https://support.google.com/webmasters/answer/185417?hl=eng
site_url() would work well for sites that use the same URL for both WordPress and the site, for any other site this causes issues. Please use home_url() instead.
For your convenience,
@@ -298,7 +298,7 @@ final class HAG_Crumb {
$crumbs[] = new HAG_Crumb(
$options,
$front->post_title,
– site_url(),
+ home_url(),
true,
$fp
);
@@ -306,7 +306,7 @@ final class HAG_Crumb {
$crumbs[] = new HAG_Crumb(
$options,
$options[‘home_label’],
– site_url(),
+ home_url(),
true,
$fp || ($bh && !$cbh)
);
I have a plugin we use that creates a post type called Sermons, but we use it for other things too. The plugin options let you rename the slug so I’ve renamed it podcasts but I would like to rename the breadcrumb to Podcasts as well. Is this a possible option? I looked around in HAG_Crumb.php but didn’t see anything sticking out.
If not it’s no big deal as I can just change $args[$labels][‘name’] in the register_post_type of the plugin (and just know to update it again when there’s a plugin update).
Thanks,
Andrew
I would like “blog” to be included in the trail when viewing a post. E.g.
Home > Blog > Interesting Post
By default the trail excludes “Blog”, can I put it in somehow? Interestingly the desired behaviour is there by default for custom post types. E.g.
Home > Custom Post Type > Interesting Post
Many thanks for the excellent plugin, the amount of options is very useful.
]]>I’ve been reading the other themes where it says how to delete the Breadcrumbs on the home, but I don’t get it, Do I have to put this code on the functionts.php?
if (!is_home() && !is_front_page()) {
if (function_exists('HAG_Breadcrumbs')) {
HAG_Breadcrumbs();
}
}
Or in the header.php where are the breadcrumbs, cause It doesn’t work anywhere.
I have the breadcrumbs: <?php if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(); } ?>
Almost on the bottom at the header.php
Thanks
]]>I have a request for future versions – might we be able to include an image as the home crumb? It could be easily done with simply a default image (e.g. a little house) and allowing custom input and even media interaction in later updates?
I know you guys are hard at work on the admin panel, and that is much appreciated! I’d love to see this option included, if only as a checkbox for now.
]]>Just a suggestion, you should be using get_the_title() or applying filters to titles (apply_filters(‘the_title’, $post->post_title)) or something that allows other plugins to insert functionality. I’m using qTranslate and there is no way of altering the Titles in the breadcrumbs. I’m forced to fork your plugin or look for another one.
]]>Hi,
The date crumbs are totally messed up. The month and date are interchanged, so, e.g., for the archive of day: 3rd June 2013 it would give:
Home > 2013 ? March ? 6th
Please fix or advice how to fix as I have finally stayed with this plugin for my breadcrumbs.
Thanks,
Kri Kab
]]>Hi,
We got this plugin installed called Sensei (by Woothemes), which is a learning management system with this structure:
Post_type => URL Examples
{Course} => domain.com/courses/course-name
{Lesson} => domain.com/lessons/lesson-name
{Quiz} => domain.com/quizzes/quiz-name
We also got your breadcrumbs activated on our website and would like to show breadcrumbs like this:
For course pages/posts: Home => [courses] => [course-name]
For lesson pages/posts: Home => [courses] => [course-name] => [lesson-name]
For quiz pages/posts: Home => [courses] => [course-name] => [lesson-name] => [quiz-name]
With the following linking structure:
Breadcrumb Title Breadcrumb Link Post_type
[courses] => domain.com/courses
[course-name] => domain.com/courses/course-name <= {course}
[lesson-name] => domain.com/lessons/lesson-name <= {lesson}
[quiz-name] => domain.com/quiz/quiz-name <= {quiz}
Unfortunately, I can’t get this to work properly for a while now. Can you please help me?
Any response is much appreciated, thanks in advance!
]]>Is this plugin compatiable with the multisite function in the latest versions of wordpress?
]]>At first I would like to thank you for the great plugin!
On archive pages like https://domain.example/date/2013 the following error occurs:
Fatal error: Uncaught exception ‘Exception’ with message ‘DateTime::__construct() [datetime.–construct]: Failed to parse time string (4. Januar 2013) at position 6 (u): The timezone could not be found in the database’ in /-/wp-content/plugins/hansel-gretel/HAG_Crumb.php:400 Stack trace: #0 /-/wp-content/plugins/hansel-gretel/HAG_Crumb.php(400): DateTime->__construct(‘4. Januar 2013’) #1 /-/wp-content/plugins/hansel-gretel/HAG_Crumb.php(239): HAG_Crumb::get_date_archive_crumbs(Array) #2 /-/wp-content/plugins/hansel-gretel/hansel-gretel.php(117): HAG_Crumb::get_crumbs(Array) #3 /-/wp-content/plugins/hansel-gretel/hansel-gretel.php(146): HAG_Breadcrumbs::display(Array) #4 /-/wp-content/themes/si in /-/wp-content/plugins/hansel-gretel/HAG_Crumb.php on line 400
Sincerely,
Wolfgang
Hi Chris,
WordPress is installed in a subfolder on my server.
In the General Settings i have
WordPress Address (URL): a subfolder
Site Address (URL): https://www.bierenbroodspot.com
I have and want the ‘Home’ crumb to be visible and active. But this is linking to the WordPress Address (URL) instead of the Site Address (URL).
Can you point me in the right direction in correcting this?
When the ‘Home’ crumb is clicked it resolves to wordpress folder and giving page not found.
Hear from you soon!
]]>I found a bug in the function get_date_archive_crumbs(…), file HAG_Crumb.php. The problem is in the line 400:
...
$date = new DateTime(get_the_date());
...
this seems just to work with the english date-time format but not with the german as I use it. F.e. “14. Februar 2013”. I solved it by change it as the following:
...
$date = new DateTime(get_the_date('Y-m-d'));
...
maybe you want to add this fix for your next update.
]]>Hi, great plug-in! Easy to use even for a code newbie like me ??
How do I not display the home link – but only on the home page? I’m not that good with php yet so if there’s a quick way to do it without too much messing around in conditionals etc that’d be nice.
Thanks in advance.
]]>Your plugin is awesome. I do have a question though, is there a way that I can customize the current item?
The reason I ask is I’m giving my breadcrumb the look of the original vBulletin forum bread crumb which looks like this:
Home IMG sep Forums IMG sep Sub-Forum
Current IMG Current Item
Is it possible to create this look with your plugin?
]]>Hi, I love your plugin but I’ve found a problem.
I have this code inside the heather:
if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(array(
'home_show' => false,
'last_link' => false,
'excluded_taxonomies' => array(
'post_format', 'tag'),
'taxonomy_excluded_terms' => array(
'category' => array('uncategorized'),
),
)); }
and it works beautifully everywhere except in pages like: https://example.com/2013 or https://example.com/2013/01
The page rendering stops exactly at the point of your plugin, giving this message:
Fatal error: Exception thrown without a stack frame in Unknown on line 0
If I comment that code, the page loads well. If I deactivate your plugin, the page loads too.
Do you have any idea on how to fix this? Thanks
]]>Hi,
I use woocommerce on my website. Where should I put this code?
<?php if (function_exists(‘HAG_Breadcrumbs’)) { HAG_Breadcrumbs(); } ?>
one more thing, I don’t find any page setting on my dashboard.
]]>I’ve been trying to figure out a way to only show this plugin when it’s a child of a page and not show on every page. If it’s just the parent page, the breadcrumbs won’t show up. Is this possible?
]]>Thanks for the fantastic and elegant plug-in!
I may have overlooked this, but is it possible to hide a category? E.g. I have a category called ‘carousel’ for a slideshow on the homepage and because this has lots of posts, it displays as the parent category for a single post and I don’t want users to see this.
Thanks for your help!
]]>Hi,
Is it possible to custom the breadcrumbs to ignore the home page?
https://erinh.phpfogapp.com/home/plan/map/
I have added the Homepage as the parent for all my pages, however now the breadcrumbs shows two Home links.
I can fix it by reversing it – but then I have to go thru and change all my hyperlinks again and would prefer not to do this.
Any help available is appreciated!
]]>Even with “Whether or not to show the last crumb (the current location) in the breadcrumbs” set to “‘last_show’ => true,” It is not displaying.
Also, for some reason, the plugin is not picking up the category hierarchy.
Category 1
Category 1a
Category 1b
Category 1c
If I navigate to a post which is in a Category 1b, only Category 1 is displayed in the breadcrumb.
(Update) I found that Breadcrumb NavXT does exactly what I need! ??
]]>Hey there,
Thanks for the plugin. I installed and activated the plugin and put <?php if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(); } ?>
in my index.php right before <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
I emptied my WordPress cache and my chrome cache and even deleted the chrome plist file on my computer…but it’s still not showing up. I don’t understand. Please help!
Thanks,
Roselle