• Resolved Bacek

    (@bacek)


    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)
  • Barry

    (@barryhughes-1)

    Definitely possible, @bacek – but unfortunately the extent of our free support coverage here in the www.ads-software.com forums doesn’t cover this sort of customization.

    We can definitely leave this open and see if other community members can pitch in, though ??

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove cost from events’ is closed to new replies.