• Resolved PBenz

    (@pbenz)


    I would like to alter the legend category links to display a list view of all upcoming events for the selected category. To do that I believe I have to override the views/legend.php file in my custom theme. Assuming that’s correct, where does this file need to be placed? Template files from The Events Calendar plugin can be overridden in <your_theme>/tribe-events/<file>, but adding my own legend.php to the tribe-events folder doesn’t seem to work.

    http://wordpress.org/plugins/the-events-calendar-category-colors/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andy Fragen

    (@afragen)

    There is no provision in this plugin for template overrides.

    Thread Starter PBenz

    (@pbenz)

    Bummer. Guess I’ll have to modify the original source and deal with merge conflicts as they arise.

    Thanks very much for your reply.

    Paul

    Plugin Author Andy Fragen

    (@afragen)

    PBenz, do me a favor and create an issue over on the GitHub site with a request for a filter in legends.php

    I’m thinking the filter could add an a link to the list. Would this work?

    Thread Starter PBenz

    (@pbenz)

    I’m not 100% certain but I think that would work. I’ll add the request for the filter over on GitHub.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Override legend.php in theme?’ is closed to new replies.