WP_Router in Breadcrumb (Community Events + Yoast WP SEO Breadcrumbs)

Home Forums Calendar Products Community Events WP_Router in Breadcrumb (Community Events + Yoast WP SEO Breadcrumbs)

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1012405
    Jimmy
    Participant

    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.

    #1012576
    Cliff
    Member

    This reply is private.

    #1014152
    Jimmy
    Participant

    This reply is private.

    #1014630
    Jimmy
    Participant

    This reply is private.

    • This reply was modified 8 years, 5 months ago by Jimmy.
    #1015031
    Jimmy
    Participant

    Just 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.

    #1015472
    Nico
    Member

    This reply is private.

    #1016590
    Jimmy
    Participant

    Alright, 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
    #1017022
    Nico
    Member

    Hey 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,
    Nico

    #1022508
    Support Droid
    Keymaster

    This 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘WP_Router in Breadcrumb (Community Events + Yoast WP SEO Breadcrumbs)’ is closed to new replies.