Enable Comments on Venue Page

Home Forums Calendar Products Events Calendar PRO Enable Comments on Venue Page

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #47729
    Dustin
    Participant

    Is there a way to enabled comments on the single venue page (single-venue.php)?

    #47732
    Barry
    Member

    Hi Dustin – have you tried changing the setting found at Events > Settings > General > Show Comments?

    #47733
    Dustin
    Participant

    Yes, that seems to only enabled them on Events, not Venues.

    #47746
    Barry
    Member

    OK – if you take a look at Events > Settings > Template can you tell me what Events Template is set to?

    #47750
    Dustin
    Participant

    It is set to Default Events Template. I have created a new single-venue.php file to make some modifications. Do I need to add any code to this file to enabled comments? I tried adding this at the end but it didn’t change anything.

    #47751
    Dustin
    Participant

    Not sure how to add code here, I’ll try again.

    #47762
    Barry
    Member

    Hi Dustin – code snippets don’t always work as expected, unfortunately, so it’s best to use an external service such as Pastebin and paste a link in here. Sorry for the inconvenience!

    #47835
    Dustin
    Participant

    Ok, here’s what I added to single-venue.php. http://pastebin.com/x9idxtxK

    #47989
    Barry
    Member

    Can you trying editing the following line in your (custom) ecp-single-template.php:

    if(tribe_get_option('showComments','no') == 'yes'){ comments_template(); }

    And change it to:

    if(tribe_get_option('showComments','no') == 'yes' || tribe_is_venue()){ comments_template(); }

    #48028
    Dustin
    Participant

    I copied the single-venue.php file to my theme-directory\events\ folder. That file didn’t have the line you mention.

    Here is what is in the file http://pastebin.com/qLkMxqpn

    #48041
    Barry
    Member

    Right – but I’m suggesting you edit ecp-single-template.php – not single-venue.php – does that help/clarify things?

    #48043
    Dustin
    Participant

    I see. I copied ecp-single-template.php to theme-folder/events/ and made the modification. Didn’t seem to add the comments. Example venue page http://myedmondsnews.com/venue/pancake-haus/

    #48049
    Barry
    Member

    You’re still set up so that the Default Events Template is in use right? I’m not sure why that wouldn’t be working … can you try deactivating other plugins and switching to a default, unmodified theme such as Twenty Twelve and test if it works then?

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Enable Comments on Venue Page’ is closed to new replies.