Viewing 5 replies - 1 through 5 (of 5 total)
  • Ruth Maude

    (@dandelionweb)

    Hi Gray,

    I’m super busy but I will try to add this soon.

    Thread Starter grayayer

    (@grayayer)

    I would love that so much. As you can see here, https://naturallatch.wpengine.com/services/#breastfeeding_support_groups, I’m using the shortcode multiple times on the page for different category events.

    Ruth Maude

    (@dandelionweb)

    Hi Gray,

    update the plugin and venue will now work – add venue=’true’ to the shortcode.

    Thanks to Ankit Pokhrel for this update

    ~ Ruth

    Thread Starter grayayer

    (@grayayer)

    That looks great. Now if only I could get the function tribe_get_venue_link to work within the plugin, I’d be able to link out that location. Unfortunately my attempts at modifying that code didn’t quite work out:

    if( $ecs_venue !== 'false' ) {
    					$output .= '<br><span class="duration venue"><em> at </em><a href="' . tribe_get_venue_link() . '" rel="bookmark">'' . tribe_get_venue() . '</a></span>';
    				}

    @grayayer

    Try changing the code found on line 139 to the following:

    if( self::isValid($ecs_venue) ) {
    						$venue_id = tribe_get_venue_id();
    						$url = esc_url( get_permalink( $venue_id ) );
    						$output .= '<span class="duration venue"><em> at </em><a href="' . $url . '">' . tribe_get_venue() . '</a></span>';
    					}

    Hope that helps… ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Possibility for display of location?’ is closed to new replies.