Posted: January 22, 2016 at 9:51 am
|
Event shows up on the calendar fine. When I click event, the event page loads, but only displays the featured image I set for that event. |
Hi Jimmy, Could you share a link to the event page please so we can share feedback? Thanks — |
|
|
Yes sir, http://redwhiteandbrush.com/events/the-blue-door-painting-on-the-patio/ |
Hi Jimmy, This looks like it may be due to the way the WordPress theme is coded. Everything is displayed on the event archives. Can you copy your active WordPress theme’s single.php template and copy it into a pastebin or gist, then post a link here so we can investigate further? |
|
|
Yes sir, http://pastebin.com/d14gsQ0D |
Ouch! Yeah the theme is only going to display post content from WP posts and portfolio posts with the way it’s coded there. You can change the line that says: and change it to:
Then it will display the content on a single event post. Recommended: You can copy your modified single.php template over to an active WordPress child to prevent losing your changes on a theme update. |
|
|
Thank you. This worked, somewhat. It’s displaying all the data I wanted, but it’s now displaying the featured image 3 times. One of them looks like an upcoming event listing? |
|
There is also a bit of code at the bottom UpcomingThe Blue Door – Painting on the Patio” id=”like-182″ class=”like-count-sec”>0 |
Hi Jimmy, If your WP theme calls the feature image more than once for a post, your event pages will call the featured image more than once as well. From the looks of things, the 3rd image is within the post content. So if you set a featured image and set the image to display within the event description/post content, it will display multiple times. The broken looking code at the bottom of the page is caused by your theme, and can be fixed by swapping in the_title_attribute() wherever the theme incorrectly uses the_title() where it should have the_title_attribute. If you need help with finding where to make the, you can post a pastebin of the single-blog.php template and we can take a look. |
|
The support post ‘EE4 Event page only loads Featured Image. Does not load tickets, venue, etc’ 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.