McDormic
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [The Events Calendar] Cant switch monthsGo to /resources/tribe-events-ajax-calendar.js and comment out the following.
After you save that rename the .min.js file and it should work.
/*if (tt.pushstate && !ts.filter_cats) { dbug && debug.time('Month View Ajax Timer'); $(te).trigger('tribe_ev_ajaxStart').trigger('tribe_ev_monthView_AjaxStart'); $.post( TribeCalendar.ajaxurl, ts.params, function (response) { ts.initial_load = false; tf.enable_inputs('#tribe_events_filters_form', 'input, select'); if (response.success) { ts.ajax_running = false; td.ajax_response = { 'total_count': '', 'view': response.view, 'max_pages': '', 'tribe_paged': '', 'timestamp': new Date().getTime() }; if(dbug && response.html === 0){ debug.warn('Month view ajax had an error in the query and returned 0.'); } var $the_content = ''; if($.isFunction($.fn.parseHTML)) $the_content = $.parseHTML(response.html); else $the_content = response.html; $('#tribe-events-content').replaceWith($the_content); tribe_month_view_init(true); ts.page_title = $('#tribe-events-header').data('title'); document.title = ts.page_title; if (ts.do_string) { td.cur_url = td.cur_url + '?' + ts.url_params; history.pushState({ "tribe_date": ts.date, "tribe_params": ts.params }, ts.page_title, td.cur_url); } if (ts.pushstate) { history.pushState({ "tribe_date": ts.date, "tribe_params": ts.params }, ts.page_title, td.cur_url); } $(te).trigger('tribe_ev_ajaxSuccess').trigger('tribe_ev_monthView_ajaxSuccess'); dbug && debug.timeEnd('Month View Ajax Timer'); } } ); }*/// else { if (ts.url_params.length) window.location = td.cur_url + '?' + ts.url_params; else window.location = td.cur_url; //}
Forum: Plugins
In reply to: [Widget Shortcode] Display widget if activeI figured it out..
<?php if ( is_active_sidebar( ‘arbitrary’ ) ) : ?><?php echo do_shortcode(‘[widget id=”text-2″ title=”0″]’);?><?php endif;?>
Forum: Plugins
In reply to: [WooCommerce Weight Based Shipping] Ship based on two optonsNevermind I just set the handling fee as opposed to rate
Forum: Themes and Templates
In reply to: Block featured image for some posts onlyok thanks
Viewing 4 replies - 1 through 4 (of 4 total)