Home › Forums › Calendar Products › Events Calendar PRO › Description missing for venues
- This topic has 11 replies, 2 voices, and was last updated 11 years, 1 month ago by
Barry.
-
AuthorPosts
-
April 13, 2015 at 7:51 am #955053
Gil Poulsen
ParticipantHi, for some reason the description is missing from my venue pages although I have them entered in the admin and they appear there. It does show in the TwentyFifteen theme, so just looking for a clue on how to troubleshoot this or where to start, don’t expect you to correct it since it works with a default theme but I just need a clue as to where to look. Thanks!
April 13, 2015 at 12:12 pm #955154Barry
MemberHi Gilbert,
That is odd š
Within our single-venue.php we test with get_the_content() for the presence of a description – I can only assume an empty value is being returned in this particular case.
Perhaps the theme is deliberately overwriting properties from the global $post object, or has filters in place that are misfiring in some way?
April 13, 2015 at 12:16 pm #955158Gil Poulsen
ParticipantThat’s what seems to be happening, but events and posts all show the info correctly. Just the venues don’t show it. Is the venue meta somehow defined or tagged differently than the venue for “regular” posts?
April 13, 2015 at 12:17 pm #955159Gil Poulsen
ParticipantI meant “the meta for regular posts,” not the venue. Sorry.
April 13, 2015 at 12:21 pm #955162Barry
MemberAll our post types are just regular post types and the description for each is stored just as it is in the case of standard blog posts and pages.
Do you know if your theme ships with customizations relating to our plugin, or have you/a developer working on your behalf put any tweaks in place that perhaps specifically target venues?
April 13, 2015 at 12:26 pm #955165Gil Poulsen
ParticipantOh, yeah, this is the Espresso theme from Boxy Studio. They did a ton of cool stuff to integrate your calendar, to the point where I’m not always sure to whom I should turn with a particular question. They did this amazing weekly schedule view too:
http://altimaccom.cv.siteprotect.net/this-weeks-events/
Unless that was you guys and I’m giving them credit for it š
April 13, 2015 at 12:34 pm #955172Gil Poulsen
ParticipantIf it sheds any light on the issue, the template used for the single venue page is
Rendered template: wp-content/themes/espresso/single.php
at least according to the Reveal Template WP plugin.
April 13, 2015 at 12:43 pm #955180Barry
MemberThat does shed some light: Espresso (by Boxy Studios, if I’m thinking of the same theme) does ship with various event-related customizations. Perhaps then instead of using our plugin’s own default template for venues an alternative is in use or something of that nature?
Have you reached out to the theme vendor for assistance in case this is actually a deliberate feature of the theme, or something of that nature?
April 13, 2015 at 12:55 pm #955192Gil Poulsen
ParticipantYeah, I figured I would check with you both at the same time. Can you confirm that the template for a single venue should be single-venue.php and not single.php? Also there is a thread on this forum from 2013 that discusses someone with the same exact issue I’m having wherein the venue description does not show up on the single venue page, and the solution was to load the Default Page template rather than Default Events Template from the TEC settings, and it was a bug that would be fixed in the next version of TEC. That’s why I was hoping it might ring a bell with you guys.
April 13, 2015 at 4:28 pm #955250Barry
MemberHi Gilbert,
Can you confirm that the template for a single venue should be single-venue.php and not single.php?
Typically more than one template is loaded and they are often “nested” inside one another, so it’s possible both are loading. Can you confirm the value of the default events template setting?
Whatever the outer template might be, ordinarily the single-venue.php should also be loaded (but it may itself be pulled in via some other template).
Also there is a thread on this forum from 2013 that discusses someone with the same exact issue Iām having wherein the venue description does not show up on the single venue page, and the solution was to load the Default Page template rather than Default Events Template from the TEC settings, and it was a bug that would be fixed in the next version of TEC.
Wow, that is an old topic (if this is the one you are referring to)!
Admittedly I had forgotten all about it. That said, it looks like we resolved this and while it’s not impossible there has been a regression it does not seem to be something I can replicate on an otherwise clean installation of WordPress.
You could certainly try switching that same setting as suggested in the topic from 2013 and see if that fixes things for you (perhaps it only manifests itself with certain themes), but I suspect you are facing something different here.
April 14, 2015 at 9:40 am #955477Gil Poulsen
ParticipantJustin at Boxy Studio was able to go in via FTP and according to him, did a wp_reset_query() in the template which fixed it. Not sure to which template he was referring, but all’s well that ends well. Thanks for your quick response and assistance.
April 14, 2015 at 12:16 pm #955512Barry
MemberGlad it all worked out š
-
AuthorPosts
- The topic ‘Description missing for venues’ is closed to new replies.
