Forum Replies Created
-
AuthorPosts
-
July 14, 2015 at 9:26 am in reply to: How to use "if_fuction_exists" to prevent fatal errors #986316
Caroline
ParticipantAwesome – Thank you!
February 20, 2015 at 12:33 pm in reply to: Countdown timer widget: How to center the div containing the countdown timer #944012Caroline
ParticipantYes, that worked for me too. Thanks so much!
February 20, 2015 at 10:23 am in reply to: Countdown timer widget: How to center the div containing the countdown timer #943976Caroline
ParticipantThis reply is private.
January 2, 2015 at 3:44 pm in reply to: How to add a class to links generated by the prev & next event link? #927995Caroline
ParticipantThanks Geoff,
I managed to solve it:
function tribe_link_next_class($format){
$format = str_replace(‘href=’, ‘class=”ss-icon next” href=’, $format);
return $format;
}
add_filter(‘tribe_the_next_event_link’, ‘tribe_link_next_class’);function tribe_link_prev_class($format) {
$format = str_replace(‘href=’, ‘class=”ss-icon prev” href=’, $format);
return $format;
}
add_filter(‘tribe_the_prev_event_link’, ‘tribe_link_prev_class’);Caroline
ParticipantThanks!
Caroline
ParticipantI’m certain I installed and customised the templates for both plugins at the same time. It would be really useful if it’s possible to reinstate tribe_get_cost() when WooTickets is active, as the price field in tickets.php is tricky to style without ruining the customised layout.
Thanks! 🙂
Caroline
ParticipantHi,
Yes I added it as customisation to change the layout. Here’s the code (line 53): http://pastebin.com/DWiz4Qa3I defined the price of the ticket in the ‘Tickets’ section of the post page. Then I check it in the ‘Products’ section of WooCommerce. The price used to appear on the page, so I’m not sure why isn’t working now.
Caroline
ParticipantHey,
I’ve figured out how to hide the form, I just need to figure out how to add an actor tag without breaking the rest of the code.I’ve changed Line 84 to read: if ( $is_there_any_product_to_sell && $subscription_key )
so now the form is hidden is there no active subscription, and adding an “else” between lines 93 and 94. -
AuthorPosts
