Remove Venue Link – part 2

Home Forums Calendar Products Events Calendar PRO Remove Venue Link – part 2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #714676
    astcit
    Participant

    Howdy guys!
    hope you enjoyed your day off yesterday!

    Got another issue with my customization since the 3.7 upgrade…
    everything working a treat since the update except one thing;

    I had some help with customization to remove the link to the venues previously, which worked out great.(https://theeventscalendar.com/support/forums/topic/remove-event-title-link/)

    BUT…. since the update, my bit of lil ol’ code (shown below) doesnt want to work for me;

    add_action( ‘tribe_events_before_view’, ‘tribe_remove_venue_links’ );
    function tribe_remove_venue_links(){
    remove_filter( ‘tribe_event_meta_venue_name’, array(‘Tribe_Register_Meta_Pro’, ‘venue_name’), 10, 2);
    }

    i went through all my customization, removing them one by one, to see if it would work… and it hasn’t come up to the surface. What am i looking past?

    #717575
    Josh
    Participant

    Hey Ben,

    Thanks for reaching out to us!

    You can actually remove that link using the same technique that was suggested in the previous forum post and using the Themer’s Guide. The file that you’ll want to override in your child theme to remove the venue link will be the “modules/meta/venue.php” file.

    Let me know if you have any further questions.

    Thanks!

    #720841
    Josh
    Participant

    Hello astcit,

    I’ve noticed you’ve marked the previous response as the correct answer. I’ll go ahead and close out this ticket but if you have any further questions, please don’t hesitate to open a new one.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove Venue Link – part 2’ is closed to new replies.