Home › Forums › Calendar Products › Events Calendar PRO › remove pseudo_breadcrumb from category page title
- This topic has 7 replies, 2 voices, and was last updated 10 years, 6 months ago by
George.
-
AuthorPosts
-
October 7, 2015 at 5:46 am #1012197
suzannegoodwin
ParticipantHi, I need help removing the “pseudo_breadcrumb” from our category page titles. If you look here
http://capecodtheatrecompany.org/moderntribe/ (this will bypass the coming soon page)
then here
http://capecodtheatrecompany.org/events/category/education/children-youth/list/
You can see that although I was able to hide the link part of the title with CSS (h2.tribe-events-page-title a), the little breadcrumb carrot and space is hard-coded in the template.
Can you please tell me where in the template files (or elsewhere) I can delete this??
October 7, 2015 at 6:31 am #1012233George
ParticipantHey @suzannegoodwin,
I went to the links you provided but was unfortunately met with “500 – Internal Server Error” on each page as shown in this screenshot: https://cloudup.com/ctLtdarOWR0.
So I wasn’t able to see your pages live, in person….
Regardless of that, however, you mention the breadcrumb elements being hard-coded into the templates; to be clear, they are hard-coded into your theme or another plugin, not The Events Calendar or any Tribe add-ons.
So, do you have any Breadcrumb-related plugins on your site? If so, this is the source; if not, your theme is…
Let us know if you can get the links working above, I will take a look and see what I can recommend there.
Cheers!
GeorgeOctober 7, 2015 at 6:45 am #1012257suzannegoodwin
ParticipantThis reply is private.
-
This reply was modified 10 years, 6 months ago by
suzannegoodwin.
October 8, 2015 at 6:44 am #1012643George
ParticipantHey @suzannegoodwin,
I’m so sorry to report this again, but going to that link led me to a page where I was still not able to see the breadcrumb issue in action 🙁

Can you make sure the page with the breadcrumbs are temporarily visible? I will work quick to minimize the amount of time it is viewable!
Thank you so much for your patience here; sorry to be reporting this same thing again!
— George
October 8, 2015 at 7:39 am #1012703suzannegoodwin
ParticipantThis reply is private.
-
This reply was modified 10 years, 6 months ago by
suzannegoodwin.
October 9, 2015 at 8:44 am #1013173George
ParticipantNo worries at all @suzannegoodwin! I’m sorry that this has taken some back-and-forth, and really appreciate your patience.
Unfortunately, I can’t think of a solid, reliable fix for this other than using custom JavaScript to just remove that breadcrumb character after its generated. Users on your site should still not ever notice this breadcrumb character; but it’s not a true removal of the character on a PHP level. I’m sorry about that, but am just not sure why Genesis is adding this breadcrumb like it is.
I wrote some custom code for you to help remove this character. Try pasting the following code in your theme’s functions.php file:
if ( function_exists( 'tribe_get_events' ) ) {
/**
* Remove the › symbol generated by Genesis from Events Calendar titles.
*
* @link http://theeventscalendar.com/?p=1012197
*/
function tribe_support_1012197() {?><script>
(function(){
var h2 = document.querySelector( '.tribe-events-page-title' );
h2.innerHTML = h2.innerHTML.replace( '›', '' );
document.title = document.title.replace( '›', '' );
})()
</script><?php
}add_action( 'wp_footer', 'tribe_support_1012197' );
}
I tested this with great success; I hope it works for you!
Cheers,
GeorgeOctober 9, 2015 at 10:02 am #1013216suzannegoodwin
ParticipantHey George, you’re the BOSS! Thanks so much!
October 12, 2015 at 9:34 am #1013730George
ParticipantHa! 😀 thanks for the kind words @suzannegoodwin! I’m glad this has helped – keep a good backup of this code and/or bookmark this forum thread for future reference, just so you can add this code back to your theme if it ever gets lost.
Cheers!
George -
This reply was modified 10 years, 6 months ago by
-
AuthorPosts
- The topic ‘remove pseudo_breadcrumb from category page title’ is closed to new replies.
