Forum Replies Created
-
AuthorPosts
-
Eric
ParticipantHi Brook,
Thanks for the reply, but I still have a question.
Why is it that if I have the following options in the venue dropdown:
Option A
Option BAnd I search for ‘on A’ I don’t get this match
Option A
Option BBut I have to search for ‘Option A’
—-
For your solution, where is the hook that I can dequeue the Select2 version of tribe events. And where can I find the init for the venue dropdown (i.e. which js file)Eric
Eric
ParticipantAdded a vote to the uservoice topic!
Just a quick note how you can achieve this in a kind of hacky way. Add the following code to your functions.php to change the number of posts in a shortcode:
function sif_tribe_option($option, $optionName, $default) { //change number of posts per page $numberOfPostsInShortcode = 3; if($optionName == 'postsPerPage') { //are we in a shortcode? $in_shortcode = in_array( 'do_shortcode', wp_list_pluck( debug_backtrace(), 'function' ) ); if($in_shortcode) { return $numberOfPostsInShortcode; } else { return $option; } } //always return an option return $option; } add_filter('tribe_get_option', 'sif_tribe_option', 10, 3);Eric
ParticipantThanks, that solved the issue! Any ETA for the fix, so I know when to update again…
Eric
ParticipantI can only select version 4.1 in the menu since I purchased the plugin a few days ago…
Eric
ParticipantI need this fixed ASAP, how can I revert the Pro version?
-
AuthorPosts
