Posted: December 6, 2012 at 12:24 pm
|
$event_id is displayed above the Description on version 3.1.29.P Viewing the event shows the event id at the top of the page above Description: How can I remove it, cant find it in the code. Also add to calendar does not appear. or will this appear when you upgrade to the new WP version? |
Hi Dave, Can you post a screenshot or a link to the page where this is happening? Please see the section of the 3.1.29.P blog post to answer your question about the add to calendar feature: |
|
|
|
|
|
Hi Dave, It looks like the event ID is getting printed from this code in registration_page_display.php:
One of two things should happen when this code is run: 1) It should display a featured image if there’s a featured image set in the event and the new featured image option is enable in Event Espresso>Template settings -or- 2) Nothing will be displayed there if the featured image option is disabled. One thing that you can check and verify that it’s there is the new featured image function in /includes/functions/main.php. It will look like this:
If it’s not there, then it may be that the update didn’t update all the files, and uploading a fresh copy of Event Espresso will resolve this. You can download the latest version of Event Espresso from your account page. |
|
|
Morning, I have “Display featured images in the event list and registration pages?” set as No. I will just remark the code from registration_page_display.php so it doesn’t display. |
|
Strangely enough I have commented out the lines in both files and it still shows :/ line 1281-1294 remarked in main.php |
Hi Dave, This indicates that there are out of date template files (from a prior version of Event Espresso) in the /wp-content/uploads/espresso/templates/ directory. If you have modified templates in there, they need to be updated to use the new template files included with the current version of the plugin. If you haven’t made any modifications to the files in the /uploads/espresso/templates they can be removed. If you are not sure if there were modifications made to these files, you can back these up or rename that folder just in case. You can automatically rename the /wp-content/uploads/espresso/templates folder by going to Event Espresso>Template Settings and clicking the “Rename templates directory” button near the bottom of the page. |
|
The support post ‘Event_ID is displayed above the Description on version 3.1.29.P’ 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.