ahigginbotham
Forum Replies Created
-
Forum: Plugins
In reply to: [SWE Country Code Field GF Add-On] Not working in Multistep formYes, I’m having the same issue as well.
Forum: Plugins
In reply to: [The Events Calendar] Array Google Map MessageGlad to know I’m not crazy. The same thing is happening to me now too.
Forum: Plugins
In reply to: [HubSpot for Gravity Forms] Hubspot Feed – Add Form – Form Not ListedTHANK YOU Chris! This solved the problem for me. Amazing that I’ve been encountering this all day and stumbled upon this just now.
Forum: Plugins
In reply to: [AppBanners] Can’t get to work. "emulateTransitionEnd is not a function"[email protected] Thank you!
Forum: Plugins
In reply to: [AppBanners] Can’t get to work. "emulateTransitionEnd is not a function"Arghhh. Yes, it had been disabled. Please take a look now. Thanks.
Same here, but for your Campaign Monitor plugin.
Notice: Use of undefined constant SPARTAN_WPLC_PLUGIN_DIR – assumed ‘SPARTAN_WPLC_PLUGIN_DIR’ in /wp-content/plugins/contact-form-7-campaign-monitor-extension/cf7-cm-ext.php on line 36
Forum: Plugins
In reply to: [Posts 2 Posts] Connection admin box shows all post typesYes, same thing is happening to me now as well. When making a connection, the list shows everything from that same post type, not the type it should be connecting to. Very frustrating…
Forum: Plugins
In reply to: [Dave's WordPress Live Search] Filter to alter results in functions.phpHi Dave,
Just following up on this as the issue still remains. Do you have any insights?
Thanks,
AnthonyForum: Plugins
In reply to: [Dave's WordPress Live Search] Filter to alter results in functions.phpBasically my function reads custom fields to determine if an event status is 1,2 or 3. I only want Live Search to pull those with a status of 1, AND that is later than the current date. Here’s my complete dontShowOffs function:
function dontShowOffs($query) { global $wpdb; if ( !is_admin() && $query->is_main_query() ) { $inactiveevents = $wpdb->get_col("SELECT post_id FROM $wpdb->postmeta WHERE meta_key='wpcf-event-status' AND meta_value = 3"); $currentDate = getdate(); $offevents = array(); $pastevents = array(); if ( !is_admin() && $query->is_search() ) { $offevents = $wpdb->get_col("SELECT post_id FROM $wpdb->postmeta WHERE meta_key='wpcf-event-status' AND meta_value = 2"); $pastevents = $wpdb->get_col("SELECT post_id FROM $wpdb->postmeta WHERE meta_key='wpcf-start-date' AND meta_value < $currentDate[0]"); } $soloexcludes = array(38); $dontinclude = array_merge($inactiveevents, $soloexcludes, $offevents, $pastevents); $query->set('post__not_in', $dontinclude); $query->set('orderby', 'type'); $query->set('order', 'DESC' ); } return $query; }
If you could help me figure this out if would be greatly appreciated. Thanks!