show description of venue on front end (Event Listing) next to map

Home Forums Welcome! Pre-Sales Questions show description of venue on front end (Event Listing) next to map

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1092642
    Eve
    Participant

    hi there,
    i’m working on a dev site for a client. dev.healthyandrested.com (hidemysite protects it) email privately for pswd. We bought events calendar pro. I need to have my email as response so I am asking this as a pre sales question.
    Venue description does not show on event listing, only in the venue view. Using Genesis Modern Portfolio pro theme. latest version of all software.

    Do I have to customize Event single template to have venue description show on event listing?

    #1093124
    Nico
    Member

    Hi Eve,

    Thanks for reaching out to us on this! I can help you here…

    One way of doing this is to create a template override (check the themer’s guide for further details on how to do this) of the file wp-content/plugins/the-events-calendar/src/views/list/single-event.php. You can also hook to one of the actions in that template like tribe_events_after_the_content, this action is used in all single event description in events listings (list, day, photo, map), that might be something good or not depending your use case.

    Please let me know if this answers your question,
    Best,
    Nico

    #1093126
    Nico
    Member

    PS: giving your description a second read I guess you might be talking about the single event view?

    #1093180
    Eve
    Participant

    yes, the single event view.
    I could show some info that is in the content area like parking info by adding a custom field that would show under “Other”, but i checked for the template for what i think is this view, The Events Calendar Pro template files and could not find single-event.php in The Events Calendar Pro template files
    /wp-content/plugins/events-calendar-pro/src/views/
    but there was this:
    /wp-content/plugins/events-calendar-pro/src/tribe/Single_Event_Meta.php.

    #1093182
    Eve
    Participant

    Themers guide is a little different than what i have in my ftp directory.

    /wp-content/plugins/events-calendar-pro/src/views/pro/ has no single-event.php
    there is only the pro folder in views. and it has only related-events.php, single-organizer.php, and single-venue.php

    #1093378
    Nico
    Member

    Hey Eve,

    Thanks for following up! Sorry for the confusion on template you are trying to edit!

    You’ll find the single event template in /wp-content/plugins/the-events-calendar/src/views/single-event.php. This template is part of the core plugin, that’s why it’s not present in the pro folder. Reviewing the themer’s guide I cannot find a reference to this template being in PRO, if you do please point that out so we can correct it!

    If you are using PRO additional fields (built-in custom fields for events), you don’t need to edit the template, the field label/value will show up in the event meta section.

    Please let me know if you still need help with this,
    Best,
    Nico

    #1093616
    Eve
    Participant

    Thank you I do see that directory now. /wp-content/plugins/the-events-calendar/src/views/single-event.php.

    AND, I still have original question.
    The content area of venue does not show on event listing. It shows only when you click the Venue detail.
    I am using Genesis Modern Portfolio pro theme with all the latest versions of software.

    single-event.php has this code. I want it to show the venue description (content area text).

    // Setup an array of venue details for use later in the template
    $venue_details = tribe_get_venue_details();

    // Venue
    $has_venue_address = ( ! empty( $venue_details[‘address’] ) ) ? ‘ location’ : ”;

    is there something i can put in to have it show the content area?
    I am not a php person, but I can cut and paste. a second parameter?

    many thanks,
    eve

    #1094207
    Nico
    Member

    Hey Eve,

    Thanks for clarifying! I’ll provide the code to show that in place!

    Before I do so, let me say I’m not seeing the code you mention in my /the-events-calendar/src/views/single-event.php. So not sure if you are looking into another template (like single-event.php of map view, or another.

    Also does your theme have a template override in place for this file? Is the code you shared from this override? In case the template has a modified version of the /the-events-calendar/src/views/single-event.php file please share the code with me in a private reply (you can use a code sharing service like Gists or PasteBin).

    Please let me know about it,
    Have a great weekend,
    Nico

    #1100448
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘show description of venue on front end (Event Listing) next to map’ is closed to new replies.