• Resolved coopersita

    (@coopersita)


    I’m using the block editor. Is there a way to have the venue not linked to the archive of events for that venue?

    We just want the venue information to show up but not link to the archive.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you try adding this to the very end of your functions.php file?

    add_filter( 'tribe_get_venue_link', function( $link, $venue_id ) {
    	$just_the_title = get_the_title( $venue_id );
    	
    	return $just_the_title;
    }, 10, 2 );

    You can do this by going to Appearance > Theme Editor and choosing functions.php from the dropdown in the top-right.

    Thread Starter coopersita

    (@coopersita)

    Thanks!

    I was doing it with Javascript, but this is obviously better.

    My pleasure. Have a great weekend!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove link from venue block’ is closed to new replies.