Posted: September 11, 2014 at 8:55 am
|
Hello, I have custom post types and would like to use shortcodes (like [ESPRESSO_EVENTS category_slug=”einsteiger-1404821877″] ) and it doesn’t work any more since I have updated to EE4. The following error message displays on the custom post type site: The same shortcode works perfectly If I copy it into a blog post or page. The template file is almost the same. There is no significant difference between the custom post type template file and one of singe.php or page.php One more thing: the final invoice shows a wrong time zone (Africa/Khartoum). I would like to set it to (Paris/Berlin/Vienna bzw. UTC+2)…how can I set the correct timezone? Thanks for help, Flo |
Hi Flo, Can you try updating to Event Espresso 4.4? There’s a shortcode custom post type fix included in the 4.4 release. With the invoice timezone, can you let me know what you have already set in WP > Settings General? This will help me find out more on what’s going on. |
|
|
Hi Josh, thanks for answering me. Seems the update solved the custom post type issue. thanks for that. Regarding the timezone issue. I have set timezone to UTC+2 (german version does not offer to choose the city). I tried to change date/time format to different settings and that works perfect but the timezone stays on (Africa/Khartoum). |
|
Can you post some screenshots so we can take a look at what’s going on? You can upload them to a service like flickr and post the links here. Are there any other places where it is showing up besides the invoice and the WordPress timezone settings? |
|
Hello, here arew some screenshots: I can not provide a screenshot of the incvoice, because [ESPRESSO_CHECKOUT] shortcode is not working any more!? I have got an error for critical pages are not working properly. I deleted the /event-registration/ page by mistake but restored it out of the trash. Thanks, Flo |
|
I fixed the issue with the [ESPRESSO_CHECKOUT] shortcode. Maybe some additional blank space character have been added to the page. here is the pdf of the invoice with the wrong timezone: http://test.bloc-house.at/img/invoice.pdf flo |
Hi Flo, Which version of WordPress are you currently using? The reason for this is that UTC+2 applies to multiple locations so for accurate locations EE4 needs the Timezone to be set to a City close to you. I notice you mentioned earlier:
I downloaded WP4 and installed selecting Deutsch and ran through the install. This allowed me to select a city as a location – http://take.ms/deRdZ |
|
|
Hello, I’m using the latest version of WP (4.0–de_DE). thanks for the help and best regards, flo |
|
September 15, 2014 at 12:31 am Hi, To get it to display as Berlin etc, you will need to select the appropriate city. Also I’m not sure if Germany uses daylight savings, but if you do, selecting the city will automate this as well rather than being at a static +2 UTC. |
The support post ‘EE4 shortcode not working in custom post types’ 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.