Breadcrumbs and Page Titles

Home Forums Calendar Products Events Calendar PRO Breadcrumbs and Page Titles

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #1220644
    Joe
    Participant

    Hi there,

    We’re currently working on a development site using Events Calendar Pro. It’s early days but we’ve already encountered a few issues..

    On the Month Calendar view, the page title doesn’t display and is coming up as ‘Untitled’ in the browser tab bar: http://sommeliers-com-au.swim.net.au/events/month/

    However on any of the other views, it displays fine: http://sommeliers-com-au.swim.net.au/events/list/

    We are also using Breadcrumb NavXT and they are failing to populate on Calendar or Single event pages at all: http://sommeliers-com-au.swim.net.au/event/test-event/

    Do you have any instructions for getting your plugin to play nice with breadcrumbs? Any other custom post types seem to work fine (WooCommerce products etc)

    I noticed this PHP warning notice on effected pages: Notice: Undefined offset: 0 in on line 15

    Kind regards.

    #1220704
    George
    Participant

    Hey Joe,

    Thanks for reaching out.

    The “untitled” text in the document title of the Month View maybe fixable with some custom code—I can write some up for you in a bit, but want to tackle the other issues first.

    In regards to the breadcrumbs, you mention that they work on other custom post types like WooCommerce Products, etc.—what sort of steps did you have to take, if any, to get the breadcrumbs to show up on WooCommerce Products? Were there options in your wp-admin, for example, that you had to check or set up so that the breadcrumbs show on Woo Products? Did they show automatically?

    Next, you say, “I noticed this PHP warning notice on effected pages” — when you say “effected pages”, do you mean on specific pages where breadcrumbs do not show up? If not, what do you mean by “effected pages”, specifically? Effected by what, in other words?

    Thanks!
    George

    #1220705
    Joe
    Participant

    Hi George,

    The WooCommerce categories/products displayed in the breadcrumb section automatically. There are configuration options available for all Custom post types (Events, Venues etc included) so it recognises the post type, just won’t doesn’t render anything.

    With debug mode enabled the PHP warning was showing on all pages that breadcrumbs were failing to display.

    The way the breadcrumb plugin has been built built, if the custom post type has been developed correctly, it should work out of the box.

    Please let me know if there’s anything else you require.

    Regards.

    #1221249
    George
    Participant

    Hey Joe,

    Thanks for this information. Just to be clear, there’s nothing “incorrect” about how The Events Calendar registers its custom post types. It follows WordPress Coding Standards completely in this regard.

    When it comes to the PHP notice, you reported it as being “Notice: Undefined offset: 0 in on line 15” — this seems incomplete, and there was likely a longer PHP notice message. One that referenced a specific file name, perhaps.

    Is this the case? If so, can you please copy and paste the full, un-edited PHP notice here to help me investigate it?

    Thanks!
    George

    #1226603
    Joe
    Participant

    This reply is private.

    #1226980
    George
    Participant

    This reply is private.

    #1227912
    Joe
    Participant

    Hi George,

    We have two templates available in the theme we’ve built, neither of them display the header or breadcrumbs.

    When I activate the MT ‘Default Events Template’ I get the following two errors above and then below the calendar:

    Notice: Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme. in /webApps/sommeliers/wp-includes/functions.php on line 3959"
    
    Notice: Theme without footer.php is deprecated since version 3.0.0 with no alternative available. Please include a footer.php template in your theme. in /webApps/sommeliers/wp-includes/functions.php on line 3959

    Not sure why, considering the theme definitely contains a header and footer file.

    Cheers.

    #1228182
    George
    Participant

    Hey Joe,

    Thanks for trying this out.

    We do not make the breadcrumbs on your site, and so ultimately the reason for their failure is something the creators of the breadcrumbs would need to sort out. I would encourage contacting the theme creator for further assistance about their theme’s breadcrumbs features.

    More on this here: https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/


    With all that being said, in the meantime can you please upload a copy of your theme (and child theme, if you have one) to a site like Google Drive, or DropBox, or something similar—and then share a public download link with me here?

    What I’ll do is set aside a half hour or so and try to see if I can figure this out from within the theme’s code itself, and test it locally on my own site.

    I can’t guarantee a resolution, of course, but am happy to try! 😀

    Thanks for your continued patience here, Joe.

    Sincerely,
    George

    #1228701
    Joe
    Participant

    Hi George,

    We build all of our themes from scratch using Sage .. So you’re talking to the theme’s developer.

    The plugin we’re using for breadcrumbs is Breadcrumb NavXT. The fact that this plugin plays nicely with WooCommerce and any other custom post types we’ve created leaves me to believe the problem lies with The Events Calendar and the way it renders Titles.

    Are you familiar with themes built using Sage and the build tools it requires? Would you need the compiled production files or the local working source files?

    Please let me know and I can get that sorted for you.

    Regards,
    Swim Comm.

    #1229279
    George
    Participant

    Hey @Joe,

    Thanks for the background information. Please share the compiled production files if possible.

    Cheers!
    George

    #1229787
    Joe
    Participant

    This reply is private.

    #1229797
    Joe
    Participant

    One other quick question George (hopefully one you can answer) how do we filter an events query by featured events?

    We’ve done a var dump of the tribe_get_events() function but can see no reference to ‘featured’ or tribe_events_event_options ..

    Is there a meta key we can use to only loop through featured events?

    Thanks,
    SWiM

    #1230037
    George
    Participant

    Hey Joe,

    Sure thing, I am working on the other issues today but wanted to follow-up about your questions about the ‘featured’ parameter. If you set it to ‘true’, that should do the job:


    $events = tribe_get_events( array(
    'eventDisplay' => 'custom'
    'posts_per_page' => 8,
    'featured' => true
    ) );

    Let me know if that helps!
    George

    #1230349
    Joe
    Participant

    Thanks George! The Featured Event filtering worked perfectly 🙂

    Perhaps it should be added to your documentation somewhere?

    Cheers,
    SWiM

    #1230905
    George
    Participant

    Duly noted—we can hopefully update that documentation soon.

    Stay tuned for news regarding the breadcrumb stuff!

    — George

Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Breadcrumbs and Page Titles’ is closed to new replies.