Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #577342

    I’m not sure if all this is a bug report, feature requests or both. :-)

    See Link 1 in Private Content. The breadcrumb has an extra “Events” with a link to the current page appended to it. This doesn’t follow the typical format where the breadcrumb ends with the title of the current page which isn’t linked.

    See Link 2 in Private Content. The breadcrumb contains two links to the “Events” page and then a link to the current event.

    I’ve tried this with the parent theme (instead of my child theme) and get the same results. These two issues appear to be related to the avia_events_breadcrumb() function that gets applied to the breadcrumb. If the add_filter() statement for this filter is commented out, the breadcrumb is built correctly on these two pages. Can you confirm that this is a bug with the theme? If there’s something you can recommend for me to do to solve this issue please let me know.

    Additionally, the page titles and whatnot for The Event Calendar plugin don’t appear to have filters that would let me change them. For example, rather than “Calendar of Events”, I’d like the page title to say “Appointment Schedule”. Rather than saying “Events” in the breadcrumb, I’d like it to say “Appointment Schedule or “Appointments”. Is there an easy way to change this text?

    Related to changing the text, I noticed that these strings are wrapped in the __() function and I can use a plugin like Say What? to replace those strings with strings of my own. But I’d rather not have to do this with a plugin. Can you recommend a better way to change these strings?

    Please let me know if any of these issues are unclear.

    Thanks!

    #579429

    Hey Kevin!

    Thank you for using Enfold.

    If you want to disable the theme’s events breadcrumb filter, please add this in the functions.php file:

    add_action('init','wpse163434_init');
    function wpse163434_init() {
      remove_filter('avia_breadcrumbs_trail','avia_events_breadcrumb');
    }

    Regarding the title, it’s possible to override the default event templates, please refer to this link: https://theeventscalendar.com/knowledgebase/themers-guide/

    Example: If you want to change the “Calendar of Events” title, create a new folder in the child theme called “tribe-events” then copy the config-events-calendar > views > default-template.php file. Modify the template as you please.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.