Home › Forums › Calendar Products › Events Calendar PRO › Remove link from single event page to address/venue
- This topic has 5 replies, 4 voices, and was last updated 9 years, 11 months ago by
Lars.
-
AuthorPosts
-
May 26, 2016 at 6:29 am #1119106
Lars
ParticipantHi,
I basically want to achieve what discussed here: https://theeventscalendar.com/support/forums/topic/disable-the-venue-and-organizer-links/
The link to the “venue place” does not make any sense for us. The venue pages only consist of the name of the venue/address and therefore offer little of value.
So I would like to remove the links that automatically appear on the single event pages to these pages (preferably without css).
I assume I need to remvoe some code shown in the attached printscreen but as my coding skills are pretty lame I’m hoping for some guidelines.
Best wishes
LarsMay 26, 2016 at 3:40 pm #1119460Brook
ParticipantHowdy Again lars,
I would love to help you here. Unfortunately this is one area where you have only two options:
- Use CSS
- Dive in deep to WP Theming. Again, our Themer’s Guide is the spot to be for learning this.
It really is up to you, but based on our past interactions I am guessing you might wish to avoid option 2 as it involves a decent amount of coding.
I can elaborate a bit on our themers guide for your specific needs, or the CSS option if you prefer. Just let me know if you would like some assistance with either of these.
Cheers!
– Brook
May 27, 2016 at 12:01 am #1119596Lars
ParticipantThanks.
As I wrote I prefer to accomplish this with coding – not css.
For starters: Is the file that I attached above the correct one to amend?
I’ve already set up a /tribe-events/ folder within the my thmee and tried to a minor changed (just to see if it works) and it seems to works well.
Best wishes
LarsMay 31, 2016 at 1:03 pm #1120876Brook
ParticipantHowdy again Lars,
I am happt yo hear you have got an override going. That is not quite the best file but the idealone is near by. I would override: /the-events-calendar/src/views/modules/meta/venue.php and then swap the following line:
<dd class="tribe-venue"> <?php echo tribe_get_venue() ?> </dd>With this:
<dd class="tribe-venue"> <?php echo get_the_title( tribe_get_venue_id() ) ?> </dd>And that should do it! Did that do what you wanted?
Cheers!
– Brook
June 15, 2016 at 9:35 am #1127363Support 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 ‘Remove link from single event page to address/venue’ is closed to new replies.
