ontariosea
Forum Replies Created
-
I tried deleting what I believe is where the theme loads it’s jquery, which fixes the map not loading but also breaks my drop-down menu.
This is the code I tried deleting out:
if ( !is_admin() ) { // instruction to only load if it is not the admin area // register your script location, dependencies and version wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'); wp_register_script('cycle', get_bloginfo('template_directory') . '/assets/js/cycle.min.js'); wp_register_script('functions', get_bloginfo('template_directory') . '/assets/js/functions.js'); wp_register_script('lightbox', get_bloginfo('template_directory') . '/assets/js/lightbox_me.js'); // enqueue the script wp_enqueue_script('jquery'); wp_enqueue_script('functions'); wp_enqueue_script('cycle'); wp_enqueue_script('lightbox'); }
Any ideas why this should happen when I believe it’s loading the correct jquery now?
Tried deactivating all plugins and switching themes, and it’s a theme issue. Seems to have started after upgrading to the latest version of WP.
Any ideas for how I can troubleshoot this further. Site in question is https://greenenergydoorsopen.ca
Awesome. Sent!
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Checkbox in registrationformWorked! (I just tried it using the first example). Thank you SO much!!
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Checkbox in registrationformThanks! I just updated the plugin to the new version that came out today and still the same issue just FYI.
It looks like it happens when events are edited in the WP backend after they have been initially posted. When the event is saved it creates a duplicate location.
So, I deleted them from em_locations in the database and that fixed things, but I seem to be getting a lot of duplicate locations. In the database there’s all null values for these duplicate locations
like this:
location_address,location_town,location_state,location_postcode,location_region,location_country,location_latitude,location_longitude,post_content,location_status,location_private NULL,NULL,NULL,NULL,NULL,NULL,0.000000,0.000000,NULL,1,0
any idea why this would be happening?
I’ve noticed that the test events I created and then deleted through the WP admin left behind a few locations (which I also deleted), but these locations still show up, even though they are completely gone from the listings in the admin area. Any idea how I can get rid of them, or why they show up at all still?
I guess I may have to delete some reference to them in the actual database?
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Checkbox in registrationformStill doesn’t work. When I add that code the form doesn’t seem to submit at all. The success message does not appear as well.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Checkbox in registrationformStill doesn’t work. When I add that code the form doesn’t seem to submit at all. The success message does not appear as well.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Checkbox in registrationformI’m trying to accomplish the same idea I believe. I have a list I want to subscribe people to, but I want to add every subscriber to an interest group at the same time, but have that hidden from view as it’s just for my own segmenting purposes.
I’ve tried several variations of coding it in the plugin’s form mark-up settings but it never adds the subscriber to the group.
Here is the code I’m using – any ideas why it wouldn’t be adding subscribers to that group?
<p>
<label for=”mc4wp_f%N%_email”>Email address: </label>
<input type=”email” id=”mc4wp_f%N%_email” name=”email” required placeholder=”Your email address” />
<input style=”display:none;” type=”checkbox” value=”8192″ checked=”checked” name=”group[8301][8192]” id=”mce-group[8301]-8301-2″ />
</p>
<p>
<input type=”submit” value=”Sign up” />
</p>I’m on 5.5. User submitted events were approved, and the locations were published. I assume the locations automatically get approved when you publish a user submitted event?
Ok. I deleted all my (test) events and tried to submit a new one anonymously, and it displays on the map, so it seems to work. Strange how it wasn’t doing it before for some events.
Coding this is beyond me unfortunately. Can anyone help with the code that would do this?