• Resolved playwithtoy

    (@playwithtoy)


    hello – trying to edit the single-espresso_events.php file so i can add some custom info

    ive taken the orig and copied it to my theme folder

    and nothing changes

    i even wiped out the whole file so the only thing it says in the file is :



    <div>hello</div>

    however on the front end – the whole event renders biz as usual

    according to doc on git hub this is the correct file

    Single Event Template

    • single-espresso_events.php: template file for single event pages listing page (custom post types for events)

    but am i missing something?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter playwithtoy

    (@playwithtoy)

    also in your doc it says:

    Use the pre-made CPT templates (post-type-samples) that are located in the Event Espresso plugin directory. Copy the files from the ‘event-espresso/post-type-samples’ directory into your current theme directory. WordPress will then recognize the ‘page-event_list.php’ as a page template.

    however has this dir been moved to somewehre cause not finding it

    Plugin Author Tony Warwick

    (@pebblo)

    Hi there,

    The output uses the standard Template Hierarchy: https://developer.wordpress.org/themes/classic-themes/basics/template-hierarchy/

    Event Espresso hooks into the_content to add the event details so before that, its controlled by your theme and the template selected on the event post itself. single-espresso_events.php is an example single post template for EE events, but your theme may well be overriding that.

    Looking at the site it makes sense if you have an Elementor template selected on the event itself, try selecting default or theme:

    That should then use your single-espresso_events.php template.

    As you have a support license, we can take a deeper look into this if you can email us at support@eventespresso.com

    Thread Starter playwithtoy

    (@playwithtoy)

    hey tony

    thx for yr insight

    the template was indeed being smashed

    the site is being upgraded to a block theme so all the elementor rules were out of play

    instead i just added my own template_include() filter hook and pointed it to the right direction

    thx!

    resolved

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

You must be logged in to reply to this topic.