Twilko
Forum Replies Created
-
Forum: Plugins
In reply to: [WPGlobus] Compatibility with The Events Calendar Plug-inNo problem. I just let them know. Thanks again!
Forum: Plugins
In reply to: [The Events Calendar] Mutlilingual event title issue in month mobile viewHi again. Sorry to bump this thread again, but the guys at WPGlobus have asked me to let you know that adding the_title filter to $json[‘title’] would solve the compatibility issue with this and probably other multilingual plugins. They are open to cooperation if you have any questions.
Thanks!
Forum: Plugins
In reply to: [The Events Calendar] Mutlilingual event title issue in month mobile viewHi George,
Thanks for the reply. You were right and Alex Gore (one of the plugin authors) was able to help me out on their support page.
In case anyone else is looking for a solution to this, just add this code to functions.php:
add_filter( 'tribe_events_template_data_array', 'wpglobus_translate_event', 10, 3 ); function wpglobus_translate_event( $json, $event, $additional ) { if ( class_exists('WPGlobus') ) { $json['title'] = WPGlobus_Core::text_filter( $json['title'], WPGlobus::Config()->language ); } return $json; }Thanks again,
TimForum: Plugins
In reply to: [WPGlobus] Compatibility with The Events Calendar Plug-inThanks Alex! I added that code to functions.php and now the plugins work perfectly together. It even fixed the tooltips in desktop view that I didn’t even realise were broken.
Will remember to donate once I finish the site I’m working on!
Forum: Plugins
In reply to: [Next Page, Not Next Post] Next and previous ImagesNot sure if you figured it out already, but you can add images like this:
<?php echo previous_page_not_post('<img src="INSERT IMAGE HERE" />', 'true'); ?>