Support

Home Forums Event Espresso Premium Where is the widget_minicart.php, widget_minicart_list.template.php files?

Where is the widget_minicart.php, widget_minicart_list.template.php files?

Posted: May 17, 2013 at 8:12 am


Ronise Stiefemann

May 17, 2013 at 8:12 am

On the documentation https://eventespresso.com/wiki/template-glossary/#widgcartlist

There is a mention of a widget for minicart – where are these files?

Also how to change the date format on the upcoming events widget?


Josh

  • Support Staff

May 17, 2013 at 8:24 am

Hi Ronise,

The minicart widget files are in Event Espresso 4.0, which is still in beta and hasn’t been officially released. You can look for mini cart widget support to come in Event Espresso 4.1.

The widget uses the date format as set in WordPress General settings. So if you change it there it will change it on the widget.


Ronise Stiefemann

May 17, 2013 at 8:37 am

Thanks Josh,

I fixed the date format.

How do I add the time to the upcoming events widget?


Josh

  • Support Staff

May 17, 2013 at 11:14 am

You can add the time to the event widget’s template file (it’s located in /templates and is named widget.php)

If you open the file in a text editor, there is a line of code that makes it display the name and date. Right after the date, you could add:

<?php echo " at " . do_shortcode('[EVENT_TIME event_id="'.$event->id.'" type="start_time" format="g:i a"]'); ?>

Once that’s done, you can copy the modified widget.php template over to /wp-content/uploads/espresso/templates and your customization will not get lost on an update.

The support post ‘Where is the widget_minicart.php, widget_minicart_list.template.php files?’ 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