• Hello,

    I was having an OLD version of the plugin ( 5.9.5 ) with hardcoded custom stuff from a previous developper. I’ve been obliged to upgrade to the latest version for compatibility issues.

    Previously on my site I was having dropdown custom filters for my event list looking like this :

    But now, for sure, since the upgrade, I only have the basic event manager fields for search :

    I’ve made a backup of templates/events-search.php that was the most edited file on previous version, added it to my child theme templates/events-search.php but it appear not to work.

    I also tried to add a hook to my functions.php to force loading of this file, but I have many issues about dynamic field, etc…

    Do you have any idea how I can get this to work ? Even AI aren’t able to help me.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Create the directory wp-content/plugin-templates/events-manager/templates then copy the saved events-search.php into that directory. You don’t need to add a hook into functions.php. You can do a similar thing for any other modified template files. The previous developer should have done this instead of modifying the plugin files. Here’s a tutorial on using template files: https://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter HimSelf (Gregory)

    (@himself)

    I find a part of my issue, it was /my-theme-child/plugins/ (I forgot /plugins/) now I didn’t need the hook anymore ?? I will continue investigation tomorrow to make it work ?? thank you

    If you are putting it in your child theme events-search.php would go in /my-theme-child/plugins/events-manager/templates/templates

    Thread Starter HimSelf (Gregory)

    (@himself)

    Ok i’ve got everything to work.

    Just had to change the way it handle datas for the filters.

    thank you

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