Support

Home Forums Event Espresso Premium Which file should I edit to move the available ticket section to the bottom

Which file should I edit to move the available ticket section to the bottom

Posted: September 17, 2014 at 1:04 am


Jeanie Manchester

September 17, 2014 at 1:04 am

I have spent hours looking through the forum and understand that I need to copy the templates over to the uploads espresso templates folder before editing, but I can’t figure out which template to be editing.

I want to move the “Available tickets” down below the event description. Please tell me which file I need to find and copy to do that.

I am using WP 4.0 and the EE4 4.4.0

This is a development site.


Lorenzo Orlando Caum

  • Support Staff

September 17, 2014 at 4:38 am

Hi Jeanie,

Try this code snippet in your child themes functions.php file or a site-specific plugin:

https://gist.github.com/joshfeck/1151c89082ccb5c0b478


Lorenzo


Jeanie Manchester

September 17, 2014 at 12:46 pm

I am now seeing that when I downloaded the latest version of EE4 to update, it doesn’t have a “templates” folder in it.
I see my backup of the previous version does. Should I copy it over to the new one?

Then, is this correct path to find the functions.php to copy and add the code to:
>templates>Espresso_Arabica_2104>functions.php


Jeanie Manchester

September 17, 2014 at 1:22 pm

I would also like to know if it’s possible to not display the time on the events list (specifically a page where I am using shortcode to display only one category of event, if that is any different).
I want the date/s but not the time because some events are over a period of time or have changing times.


Seth Shoultes

  • Support Staff

September 17, 2014 at 1:31 pm

Jeanie,

The “templates” folder has been renamed to “public”.


Lorenzo Orlando Caum

  • Support Staff

September 17, 2014 at 2:20 pm

Hi Jeanine,

It isn’t necessary to setup the Arabica theme to make this change:

https://eventespresso.com/topic/which-file-should-i-edit-to-move-the-available-ticket-section-to-the-bottom/#post-118047

Were you able to add it to your child theme’s functions.php or a site specific plugin?

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Lorenzo


Jeanie Manchester

September 17, 2014 at 3:18 pm

OK, thanks. I am new to php but think I can handle that. Will try making the theme specific plugin according to those directions and paste in the code you sent.

Can you tell me if it’s possible to lose the time line on the events category list page and how to do that? It is really confusing people having it there, but I do need the dates.
Is there code for that I can add to the theme specific plugin?


Josh

  • Support Staff

September 17, 2014 at 5:23 pm

Hi Jeanie,

It’s possible to do this. One way that the times can be removed is by opening up the /public/template_tags.php file and copying over the entire espresso_list_of_event_dates() function to your site specific plugin, and remove the line of code that displays the event times, which is this one:

$html .= '<span class="dashicons dashicons-clock"></span>' . $datetime->time_range( $time_format );

The support post ‘Which file should I edit to move the available ticket section to the bottom’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso