Posted: August 10, 2020 at 12:49 pm
Hello – The single event template is pulling a layout with a left and right sidebar where widgets populate the content in the sidebars. Can we simply make this full width please? I thought it was pulling for the Blog-Single layout options in the settings but when I change the Blog_Single layout it has no impact. Can you please advise? Thanks! |
|
Hi Matt, EE events are a custom post type, so the output of those posts is determined by the theme itself and we just hook into the_content to add the additional event details needed. Which theme are you using? Can you send me a copy so I can take a look? |
|
we are using Avada. Do you want the zipped files? Thanks! |
|
Yes, please. You’ll need to host the zip file somewhere and post the link here (you can make you reply private if preferred) or send it via email although due to size limit syou’ll likely need to use something like WeTransfer to send it. The email address you can use is support[at]eventespresso.com |
|
Hi Tony – I was able to do it with CSS. Thanks for your offer for help. One smaller question: is there a way to change the text for EVENTS throughout to something different? For example the checkout button says ADD EVENT TO CART – can we either remove the word event or change it? Events doesn’t really fit so if we could change that word throughout that would be ideal. Thanks! |
|
You can change the strings yes, but not globally with a single change. First, have you changed the ‘events’ slug in the settings? Event Espresso -> Events -> Templates -> Event List Pages -> Events slug. If you change that you’ll also need to flush your permalinks by visiting Dashboard -> Settings -> Permalinks (Just visiting the page should flush them but if you want you can click save without making any changes to confirm). That will alter the events slug. —
We don’t have an ‘ADD EVENT TO CART’ string, we do have ‘ADD TO EVENT CART’, which may sound nit-picky bt if the string is different on your site it means it has likely been changed already, so is that the correct string? If its Add to Event cart, then ‘Event Cart’ is filtered and you can use something like this: https://gist.github.com/Pebblo/2873e08d239e5e82435045bf73521770 You can return whatever you prefer to be used in place of ‘Event Cart’ there, but it will only change that specific text string. Or translate it using the string here: More details on translation here: https://eventespresso.com/wiki/how-to-translate-event-espresso/ (The filter is ‘faster’ but the translations are easier to manage if you change a lot of strings) To change it throughout you need to identify each usage of ‘Event’ and filter/translate the specific string to suit, there’s no global change for it. |
|
Thanks for the detailed response and direction Tony. Much appreciated. |
|
You’re most welcome. If you find a string you can’t translate/filter just let me know and I’ll check into it. |
|
This is what I used:
|
|
No translation for ‘Event Cart’? I’m guessing you used the filter for it? |
|
The support post ‘Single Event Template’ 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.