• Resolved footballflow

    (@footballflow)


    Having upgraded to Events Calendar 4.2.4, I’m getting a persistent error banner all over my admin console: The page “Events” uses the “/events” slug: the Events Calendar plugin will show its calendar in place of the page.

    Basically my response to the error message is “yup, now go away” because it’s just warning me about a design decision I made and am aware of. To get the link to your very fine calendar plugin into my theme’s main menu bar (which seems to insist on being a page tree and only a page tree) I created an empty page “Events” with the /events permalink, which is very conveniently overridden by your plugin. Not elegant perhaps but simple and effective.

    I tried the functions.php warning provided in the earlier thread here:
    https://wordpress.org/support/topic/warning-after-updating-events-slug?replies=16

    But no joy. Tried a couple of other hacks in my child theme, similarly no luck.

    Any other way of making that error banner go away in this circumstance? I’ve got some admin users who are…a bit less sure of themselves in wp console than some, and the pervasive error banner is contributing to them ignoring other more relevant and useful errors.

    Thanks,
    Jim

    https://wordpress.org/plugins/the-events-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Wouldn’t it be easier if, instead of creating a page that does nothing, you create a menu item that is a custom link to the page created by the plugin?

    That’s what I’m using in my website and works fine.

    Thread Starter footballflow

    (@footballflow)

    @Ifreitas absolutely would prefer to do that and have tried, but it seems my theme’s firm assumption is that this particular menu must be a page tree: it is not manageable as a widget or menu, it is built automatically from the page tree. Could go in and customize that behavior in the child theme, but it’s a little more than I’m looking to do just to get rid of an overly persistent error message…

    Will keep hacking with it, but hoping Events Calendar might just let me dismiss the error somehow….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get rid of events slug collision warning?’ is closed to new replies.