Posted: November 13, 2012 at 12:47 pm
|
Hey, after updating to 3.1.28.3 today my featured images stopped working on my event-list-display.php, which contains this: This worked fine until I updated, and images are also still showing up in the calendar when enabled. What am i missing? Thanks! |
|
here’s the snippet: |
Hi Stefan, Did you copy your changes in the event_list_display.php templates into /wp-content/uploads/espresso/templates? If not, you can reapply the modifications to the template files and then copy event_list.php and event_list_display.php into /wp-content/uploads/espresso/templates so they do not get overwritten on an update. |
|
|
Hi, Josh. That’s what I did. The developer templates are active it seems. If I replace the feat-image snippet with a random string, it shows up on the page. But with the snippet, it seems as if nothing is being output. Just tried putting this into event-registration-display.php to see if it shows up there, but no luck there as well. Any other ideas I could explore? Thanks for the help, |
Can you post a gist or a pastebin so I can take a look at the code you were using? |
|
|
Absolutely: Thanks! |
|
Josh – anything you could see in that code that looked wrong? Thanks! |
Hi Stephan, That’s the recurring events template. In order to get the featured images to work on these, you’d need to make a few extra modifications: Step 1 is to add event_meta to the array near the bottom of event_list.php. Example code follows:
Step 2 is to replace what you have now for the featured image display in event_list_display.php with the following:
|
|
The support post ‘Featured image stopped working’ 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.