Posted: July 7, 2015 at 10:36 am
|
Hi, |
Hi Emil, there is a template setting available in WP-admin –> Event Espresso –> Events –> Templates –> Ticket Selector. It can be used to turn off the ticket details. For the other messaging, are you wanting to change it or hide it completely? Here is an example of how it can be changed: https://gist.github.com/lorenzocaum/38baf9ceb1188185187d If you would like to remove it completely, then you can set the option within the gettext function that appears after the arrow to empty like this: ‘Please note that a maximum number of %1$d tickets can be purchased for this event per order.’ => ”, The gettext function itself can be added to your child theme’s functions.php file or a site specific plugin. — |
|
|
Hi, |
Hi Emil, the ticket selector has template options that can be used to remove those details. Go to WP-admin –> Event Espresso –> Events –> Templates –> Ticket Selector. There are a couple options here. You can set it to hide only the ticket count content or have it hide the details link which will also hide the ticket count. Be sure to save changes after updating the settings. If you are not seeing these options, then please update to the current version of Event Espresso 4: https://eventespresso.com/wiki/ee4-changelog/ Try this sample coding for adjusting the order of the elements on the event page: https://gist.github.com/lorenzocaum/a33405557a2a065779ea It can be added to your child theme’s functions.php file (do not include the opening php tag) or a site specific plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ Thanks — |
|
|
Hi Lorenzo, |
|
Hi Lorenzo, Or, if you can explain a little more the other version you explained, the one which involves creating a template file, that may make things easier. I’m sorry if my questions are too basic/silly. Thank you. Emil |
Hi Emil, please go ahead and reverse the proposed changes. Your theme may already have customized templates since event phone and email do not appear in that order by default. Could you provide a link to any event page on your site? Thanks — |
|
|
Hi Lorenzo, I reversed the changes, and here you can see how an event looks like by default in my theme: http://www.hooponoponoromania.ro/events/i-dentitatea-sinelui-prin-hooponopono-seminar-de-baza-i/ |
Hi Emil, this isn’t a theme that I recognize and that information can likely be changed with the templates. Could you provide us with a zipped version of the theme here? support [at] eventespresso.com — |
|
Hello again Emil, As of Event Espresso 4.8.21, there is a custom display re-order option available in the WordPress dashboard. Backup your WordPress and update your software https://eventespresso.com/wiki/how-to-back-up-your-site/ You can see the change log for Event Espresso 4 here: https://eventespresso.com/wiki/ee4-changelog/ Remove existing filters for adjusting the order If you have used some of the suggested filters to adjust the order of your event elements, then you’ll want to first remove those from your website and they may have been added to your child theme’s functions.php file or a site specific plugin. Set a custom order through the Templates screen Afterwards, go to your WP dashboard (WP-admin) –> Event Espresso –> Events –> Templates. The Use Custom Display Order options in the Templates screen can be used to reorder the events elements on the single event page as well as the events listing page. Again, be sure that any of the filters for adjusting the order have been removed from your site specific plugin or your child theme’s functions.php file before turning on the template reorder option. Otherwise, you may see duplicate content. Thanks — |
|
The support post ‘How to make small template customization’ 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.