Remove cost from events
-
Since installing event tickets I can’t set event cost, which is fine with me, but now it states that all of my events are free. I managed to remove cost with
.tribe-events-schedule .tribe-events-divider, .tribe-events-cost { display: none !important; }
but this only removed the cost from the top and not from the deatils. I tried using
<?php /* * The Events Calendar - Make code empty if it's 0 or Free */ add_filter ( 'tribe_get_cost', 'tribe_not_show_free', 10, 3 ); function tribe_not_show_free ( $cost, $post_id, $with_currency_symbol ) { if ( $cost == 0 || $cost == 'Free' ) { $cost = ''; } return $cost; }
but that only removed “Cost” it still states that is free. Any ideas?
Regards,
An?e
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove cost from events’ is closed to new replies.