Eric

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Venue dropdown search using wildcard #1223446
    Eric
    Participant

    Hi 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 B

    And I search for ‘on A’ I don’t get this match

    Option A
    Option B

    But 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

    • This reply was modified 9 years, 2 months ago by Eric.
    • This reply was modified 9 years, 2 months ago by Eric.
    in reply to: [tribe_events] Shortcode Limit option not Working #1217300
    Eric
    Participant

    Added 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);
    
    in reply to: Weekview in responsive mode is empty. #1095386
    Eric
    Participant

    Thanks, that solved the issue! Any ETA for the fix, so I know when to update again…

    in reply to: Weekview in responsive mode is empty. #1095374
    Eric
    Participant

    I can only select version 4.1 in the menu since I purchased the plugin a few days ago…

    in reply to: Weekview in responsive mode is empty. #1095289
    Eric
    Participant

    I need this fixed ASAP, how can I revert the Pro version?

Viewing 5 posts - 1 through 5 (of 5 total)