Home › Forums › Calendar Products › Events Calendar PRO › Disable Venue items on front end
- This topic has 8 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 26, 2013 at 9:55 am #57337
Norine Leibel
ParticipantIs there a way to disable certain venue info from appearing in the event info on the front end? For my events, Venue Name is not relevant, rather Town/City suffices. In version 2, I just used CSS to hide it, but in version 3 I see that there’s a comma in the category listings which I can’t get rid of with CSS.
I took a look at the recommendations here: https://theeventscalendar.com/support/forums/topic/where-to-edit-meta-output-and-labels/#post-55546
but I don’t quite follow.Thanks for any help.
July 29, 2013 at 3:41 pm #57649Barry
MemberHi onelittlemoose: just to be clear – all you want under “Venue” is the city (or town) and nothing else?
July 29, 2013 at 4:37 pm #57673Norine Leibel
ParticipantHi Barry. Correct, I think.
For context: I have events distributed across multiple cities and towns and sometimes the actual venue info isn’t available or the town “is” the venue” (eg: the town’s small enough, that if you find the town you’ll literally find the event). Because of the wide variance in information that’s supplied, quite often if there is specific venue info I will include it in the body of the event, rather than in the venue name itself, so that there’s consistency. Sometimes the venue is also “listed” elsewhere in the site, so I will instead link to that regular post within the body of the event posting.
So, nutshell, venue name not needed, nor is the comma that follows it in the output. The rest: City, province, country, telephone, website, is fine to keep.
I hope that answers your question?
August 1, 2013 at 3:20 pm #58397Rob
MemberHey there onelittlemoose. Thanks for the follow-up; I’m not sure if Barry saw your reply here, so I’ve pinged him directly and made this a top priority to address. My apologies for the delay but know he’ll be in touch soon.
August 1, 2013 at 6:49 pm #58436Norine Leibel
ParticipantThanks, Rob. I know you guys are super busy. Much obliged.
August 2, 2013 at 3:27 pm #58585Barry
MemberHi onelittlemoose,
To remove the venue name can you try adding this snippet to your theme’s functions.php file?
Does that get you any closer (and sorry also for the delay)?
August 3, 2013 at 4:09 pm #58685Norine Leibel
ParticipantWorks like a charm! Thanks Barry.
August 16, 2013 at 12:39 pm #60780Rob
MemberExcellent to hear that got you sorted! Going to close this one out.
July 7, 2015 at 6:27 am #980152Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Disable Venue items on front end’ is closed to new replies.
