Posted: October 16, 2015 at 10:41 am
|
Hello, Currently I have a custom text widget that I added to the home page. Given a suggestion by someone at Event Espresso, I grabbed the code from the upcoming events widget, edited it, and added it in the text widget. I would really like to change it so my edits will be pulled dynamically. Here is my edited code: <div class=”widget widget_ee-upcoming-events-widget” id=”ee-upcoming-events-widget-5″> <p style=”margin-top: .5em”>Fundraiser for the SAR Charitable Foundation, for the benefit of Christmas CanTree.</p> </div> I changed the links so they point to ../events/eventname instead of ../events/events/eventname. Is there any way to make the change in the code (maybe in my child theme) so this happens automatically? thanks |
Hi, this question looked familiar so I checked one of your prior emails. The issue here is that workaround is needed as you are working on a site in a subfolder installation which causes your single event page URLs to look like this: example.com/events/events/my-october-event/ If the site is moved out of the subfolder, then the workaround will no longer be needed as there won’t be a duplicate events slug appearing. Another idea that may work is using a plugin like Redirection to redirect links to those pages to a different page. example.com/events/events/my-october-event/ –> example.com/my-october-event/ However, that would still require you to create redirects and doesn’t solve the cause of the duplicate events slug in the URLs. — |
|
|
Hi Lorenzo, I also have it set up this way so that I can customize the individual event page. I want sidebars on these pages (or at least the option) and it didn’t seem that I could do that without manually changing things around. Am I understanding this correctly? thanks |
Hi, if you are needing sidebars on your single event pages, then that can be done by setting up templates in your child theme. Is that what you are needing to do? — |
|
|
Yes which file would I need to edit? thanks |
|
Actually, nevermind. I need the workaround anyway so that I don’t have sponsors showing as separate events. thanks |
Hello, I see that you replied on Friday but did you still need help with this support post? If not, could you please update it to resolved? Thanks — |
|
The support post ‘Changing Front End Appearance of Upcoming Events Widget’ 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.