Description missing for venues

Home Forums Calendar Products Events Calendar PRO Description missing for venues

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #955053
    Gil Poulsen
    Participant

    Hi, 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!

    #955154
    Barry
    Member

    Hi 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?

    #955158
    Gil Poulsen
    Participant

    That’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?

    #955159
    Gil Poulsen
    Participant

    I meant “the meta for regular posts,” not the venue. Sorry.

    #955162
    Barry
    Member

    All 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?

    #955165
    Gil Poulsen
    Participant

    Oh, 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 šŸ˜‰

    #955172
    Gil Poulsen
    Participant

    If 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.

    #955180
    Barry
    Member

    That 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?

    #955192
    Gil Poulsen
    Participant

    Yeah, 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.

    #955250
    Barry
    Member

    Hi 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.

    #955477
    Gil Poulsen
    Participant

    Justin 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.

    #955512
    Barry
    Member

    Glad it all worked out šŸ™‚

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Description missing for venues’ is closed to new replies.