Posted: July 31, 2017 at 5:13 am
|
Hello, I just installed the EE4 plug-in and found out i have an theme conflict (i think). With Twenty Seventeen template it is working. I thought it was working with the Decaf version too, but not 100% sure. Can you help me? I have made a temp admin account for you if needed. Regards, Jeffrey Happel |
Hi Jeffrey, We’ll actually need a copy of the theme to investigate its code and find the conflict. Can you upload the theme somewhere then post a link so we can download it? |
|
|
Hi Josh, Yes ofcourse, is there a way to send it to you in a private msg? It is a paid theme so dont really want to post it publicly! Regards, Jeffrey |
You’ll need to host the zip somewhere (Dropbox or WeTransfer for example) and email a link to support[at]eventespresso.com If you include the zip file within the email itself it will likely be rejected based on filesize. |
|
|
The email with link is sent, thank you! |
Thank you, can you provide some details on how to reproduce the problem? |
|
|
Yes ofcourse, I made an event with all the details. Regards, Jeffrey |
Do you have anything set within the event content? If not add something, it doesn’t matter what, update the event and retest, does it work then? – http://take.ms/ecyu5 The theme is using
It’s actually displaying how your theme expects, it’s not really a conflict but how the theme outputs post archives. Are you working with a developer? Both of the above can be fixed by loading your own custom templates in place of the originals using a child theme but looking over the code for the theme you’ll likely run into similar issues throughout and will need various ‘fixes’. |
|
|
If i set the content it does show something indeed, thank you! 😀 Do you have the code of how it is displayed in the demo? I can put that in our template myself i think! Regards, Jeffrey |
You need to create a child theme, here is a tutorial for doing so: https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/ Copy the Then change this code:
To:
(Yes remove the if statement using theme_excerpt() completely) When using
To your child themes Note to confirm this worked I ended up creating a child theme and testing this, so you can review/use that if you prefer (it actually also has a fix for the ’empty’ event content too): http://take.ms/Ba0G9 However, note that the above should be considered untested and unsupported as we do not provide support for themes and was just something I used to confirm the above. |
|
|
Hello, I have tried this and although it does work now i still don’t really like the look, pretty messy. I was looking at your use cases and that is way better, isnt there a way to make it look like that with the archive-espresso_events.php file? Hope to hear from you soon. Regards, |
It all depends on your theme. Yes, you can edit Which use cases were you looking at? |
|
|
Ok, i was looking at the use-cases page and like the way that is displayed, this isnt priority though as we only have 1 event for now. The use case layout i’d like is from this event http://demoee.org/use-cases/events/countryside-high-school-class-of-2005-reunion/ I think it is pretty default but way better then the one we have in our template, there must be a way to overwrite the event layout too? Regards, Jeffrey |
What is it you want to override? The page you linked to has a feature image and a sidebar, the rest of the details are added by to the page default. If you add a venue to your event you’ll get the same details shown on your event. Yes you can override the single event view using a |
|
|
I think it is mostly style which i have to modify, will figure that out myself in the css. The main thing is on my event the featured image doesnt show and the text shows under the ticket details instead of above. The other things are styling i guess, no tables as an example. With the editing of the single.php ill probably manage to fix the text, how can i display the feature image there? |
To get the featured image to show you use the the_post_thumbnail() function within your template. Within the child theme I provided above look within You’ll find a standard.php template file that is used to output the post details throughout your site. If you only want the feature image to display on EE single event posts, you can add something like this:
Where exactly you place it depends on where you want the image to display, just after line 45 should work. |
|
|
Thank you, i got the featured image working and the text on the right place, some style issues left now but those will be fine, thank you for the help! Regards, Jeffrey |
You’re most welcome. |
|
|
We do have another problem now, the plug-in isnt sending out emails. We are using an smtp plug-in… |
If you go to Event Espresso -> Messages -> Message activity You should see a list of messages there, what colour status bar (the bar to the left of each row) do they have? |
|
|
Already figured it out, thanks. |
Hmm strange. It could be one of those plugins was adding a header to the email that EE had already added causing it to fail. Anyway, I’m glad you have it working. |
|
The support post ‘Theme conflict’ 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.