Home › Forums › Calendar Products › Community Events › WP_Router in Breadcrumb (Community Events + Yoast WP SEO Breadcrumbs)
- This topic has 8 replies, 4 voices, and was last updated 8 years, 4 months ago by Support Droid.
-
AuthorPosts
-
October 7, 2015 at 10:56 am #1012405JimmyParticipant
Below is a screenshot, I’ve tried toggling Category from the Yoast Breadcrumb settings (and re-saving Permalinks to flush them out), same result…
https://www.dropbox.com/s/vcpepxxj9sgfyu5/Screenshot%202015-10-07%2013.38.34.png?dl=0
I don’t have any %category% tokens in my permalink structure. My permalink structure is as follows: /%year%/%monthnum%/%day%/%postname%/ (Default day and name).
Basically /WP_Router (for Posts, which I’m not sure Events should be an ancestor of entirely… Are Events not a Custom Post type? I know you can toggle it…) is showing up in my Breadcrumbs. I can disable Breadcrumbs for these pages (if I can detect what type of page this is) but I’d rather not have to.
If I disable all plugins the problem won’t exist, if I try it with 2014 the issue won’t exist either.
October 7, 2015 at 9:54 pm #1012576CliffMemberThis reply is private.
October 13, 2015 at 8:36 am #1014152JimmyParticipantThis reply is private.
October 14, 2015 at 12:08 pm #1014630October 15, 2015 at 12:12 pm #1015031JimmyParticipantJust for the public record on this I guess.. If anyone else runs into this issue. The link that is showing up in Breacrumbs is /WP_Router/
And the link resolves. It’s a weird archive page + post (which doesn’t actually exist).. but it’s nothing I ever made nor is it the result of a plugin that was ever installed on the site (other than that Yoast’s Breadcrumbs thinks that that “content” is an ancestor in this context, which maybe it is).
It is however directly connected to how the Community Events plugin creates URLs (see https://theeventscalendar.com/support/forums/topic/wp-router-placeholder-page/) .. An issue which was supposedly solved but is creeping up here.
And, looking at the source code for the Community Events plugin, I can see that you’ve rolled in the wp-router plugin as an asset… So:
From:/plugins/the-events-calendar-community-events/vendor/wp-router/wp-router.php
/*
Plugin Name: WP Router
Plugin URI: https://github.com/jbrinley/WP-Router
Description: Provides a simple API for mapping requests to callback functions.
Author: Flightless
Author URI: http://flightless.us/
Version: 0.5
*/The resulting faux “content” gets picked up by Yoast’s Breadcrumb implementation and shows up in the Add/Edit/List events breadcrumbs, and can get indexed.
October 16, 2015 at 3:51 pm #1015472NicoMemberThis reply is private.
October 21, 2015 at 8:26 am #1016590JimmyParticipantAlright, thanks for updating me. I did post regarding the other issue/s on a separate thread:
Please let me know when a solution arises to my phantom content issue. Thanks!
- This reply was modified 8 years, 5 months ago by Jimmy. Reason: typo
October 22, 2015 at 11:24 am #1017022NicoMemberHey Jimmy,
Thanks for your patience on this, and also for opening a new thread for the slow queries issue 🙂
Barry crafted a snippet to solve the issue you are experiencing, please give it a try and let me know how it goes:
https://gist.github.com/barryhughes/c529b764f3ab3924cfc6
Best,
NicoNovember 6, 2015 at 6:05 am #1022508Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘WP_Router in Breadcrumb (Community Events + Yoast WP SEO Breadcrumbs)’ is closed to new replies.