Support

Home Forums Event Espresso Premium Displaying venue website and phone

Displaying venue website and phone

Posted: September 2, 2015 at 2:12 pm


wmnf

September 2, 2015 at 2:12 pm

I see capacity, website and phone when updating a venue, but it does not display on the venue page. I was able to get the Google maps enabled, but how I can get the other venue information to show up? I want a link to the venue website mainly.


Dean

September 3, 2015 at 5:54 am

Hi,

That data is shown when clicking to view the venue details (the link should be the venue title).

If you need the website to be on the event page, add this file to your theme folder: https://gist.github.com/Apina/63328cff902a599376f6


wmnf

September 3, 2015 at 7:49 am

Perhaps you misunderstood me, I am viewing the venue page, not the event page, and these items are not being displayed. We are using a custom theme developed by a third party, is it possible there is a template in place that overrides what is being displayed? If so, how can I determine the template being used?

Thanks for the other snippets for displaying on the event page, this is something I’ve thought about doing.


Lorenzo Orlando Caum

  • Support Staff

September 3, 2015 at 7:58 am

Hi, could you provide a link to the venue page that you are referring to?

Thanks


Lorenzo


wmnf

September 3, 2015 at 8:05 am

Sure, here’s one: http://www.wmnf.org/venues/local-662/


Lorenzo Orlando Caum

  • Support Staff

September 3, 2015 at 12:12 pm

Thanks, I see what you are referring to. It should appear on that page:

http://cl.ly/image/1v3G0o3q1s46

Could you tell us more about the custom theme — specifically are you seeing any template files for Event Espresso in the custom theme folder?

https://gist.github.com/lorenzocaum/0a35fe4997992fdb1dc5#single-venue-template

Here are some examples:

single-espresso_venues.php
content-espresso_venues.php
content-espresso_venues-thumbnail.php
content-espresso_venues-header.php
content-espresso_venues-details.php
content-espresso_venues-location.php


Lorenzo


wmnf

September 4, 2015 at 6:23 am

No, I’m not seeing any of those files in the theme folder. The only place they are found is in the plugins/event-espresso-core-reg folder.


Tony

  • Support Staff

September 4, 2015 at 7:02 am

Hi there,

Are you adding the Venue web address to this section – http://take.ms/avhjq

Or this section – http://take.ms/PsVG5

You’ll need to use the first section for it to display correctly on the venue details.


wmnf

September 4, 2015 at 8:18 am

Yes, I’m using the first section along with the capacity and phone number, none of which show up. Hmm, this is perplexing, I expected to find out a custom theme was in use.


Tony

  • Support Staff

September 4, 2015 at 8:28 am

Generally there’s 2 custom locations the files can load from.

The theme’s directory
/wp-content/themes/{theme_name}

The EE custom templates directory
/wp-content/uploads/espresso/templates/

It looks like you’ve already checked the theme, can you check the templates directory please.

You could install a plugin that will display any template files that are being called, there are a few different options. I often use ‘What The File‘ it adds a dropdown to the admin bar that shows the current templates used.

So if you install that plugin, navigate to the venue page, then check through the template parts what is is listed? – http://take.ms/fatpD


wmnf

September 4, 2015 at 8:34 am

Thanks for the plugin tip, nice to have at least on our development site. It shows the template being used is single.php :-/

The only two files in the uploads/espresso/templates folder are event_list.php and event_list_display.php.


Tony

  • Support Staff

September 4, 2015 at 8:40 am

It shows the template being used is single.php

Hmm, that’s execpted for normal output (we hook the details into the_content and use your theme for output) but doesn’t help with why the details are not being displayed.

Can you temporarily switch to a default theme such as twentyfourteen and view the venue page please.

Do the details show then?


wmnf

September 4, 2015 at 8:57 am

Default themes have been removed and I’m currently working on an unrelated major project with the current dev site, so I installed to a local copy of that dev site and activated the Twenty Fourteen theme, still does not show….

http://wmnfdev.webtent.org:84/venues/skippers-smokehouse/

http://take.ms/BMUwu


Tony

  • Support Staff

September 4, 2015 at 9:22 am

Do you have any content within the venue description, if not can you add some please. I don’t think it will appears as it looks like none of the ‘Details’ section is loading (which includes the website and phone number sections)

Do you have any site specific plugins active on that site? As in a plugin you use for custom functions.

Try disabling all non-EE plugins on that local site and re-test.

Enable WP_DEBUG and see if any errors are being thrown.

It’s a strange one that’s either something obvious that’s being overlooked or something obscure hidden away.


wmnf

September 4, 2015 at 11:07 am

Okay, got it showing. I added the content, but still not showing until I deactivated all plugins except for EE4. I re-activated a few at a time until I found Yoast SEO was the culprit, the details only show when this plugin is disabled. But then I activated our original theme and the details are gone again. So, it seems there is a conflict with both Yoast SEO and our theme.


Tony

  • Support Staff

September 7, 2015 at 3:49 am

Thank you for identifying the plugin, I’ve added a ticket for the Yoast conflict which our developers will investigate.

Is your theme filtering the_content at all? Usually within functions.php.


Tony

  • Support Staff

October 21, 2015 at 7:48 am

Another user reported the same issue and found that disabling the Open Graph settings for Facebook and Twitter allows the URL and Phone number to be visible again.

Here’s a link to that thread:

https://eventespresso.com/topic/solution-for-yoast-seo-causing-venue-url-and-phone-no-to-disappear/

The support post ‘Displaying venue website and phone’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso