etech0
Forum Replies Created
-
I made a file called submitbutton.js, and put that jquery code in it. Then I added this line to a custom plugin I have that stores all my functions.
wp_enqueue_script( 'submitbutton', get_template_directory_uri() . '/js/submitbutton.js', array( 'jquery' ), '', true );
How to set up a plugin for your functions:
https://www.doitwithwp.com/create-functions-plugin/Forum: Plugins
In reply to: [Recent Posts FlexSlider] Can't get height to be smaller than 240pxForget it – I updated the plugin and it seems to be working now.
The issue is definitely resolved. I used the contact form as suggested, and they helped me write this jquery code which fixed it:
jQuery(document).ready(function() { jQuery('p.form-submit').insertAfter('p.wysija-after-comment'); jQuery('#wysija-box-after-comment').attr('checked','checked'); });
Ahhh I figured it out. I just installed the plugin on the dev site, and copied the file path from there.
Update: I downgraded the plugin on my site, so now it looks fine. I’m back on version 3.9.5 now. It would be great if you could provide me with a link to instructions on how to update to the current version without everything getting messed up.
ThanksWill do, thanks!
Yep, you are right!
Submitting a ticket to godaddy just earned my complicated instructions for something that didn’t help, but excluding a few big dirs did the trick.
Thanks!
Thanks! I think I’m looking for something like this:
$('.submit').each(function() { $(this).insertAfter($(this).parent().find('.name-of-checkbox')); });
Does that make sense? ALso, the p with the checkbox and label in it doesn’t have a name.
And where would I put the code?
Thank you!
Thanks for your reply! I actually saw that already, and what it said was to check the error logs. So I checked them, but I don’t understand them very much, and couldn’t find help on google. That’s why I posted.
Thanks!
Thanks for the reply! I’m pretty ok at css, and learning js. Do you think you could point me in the right direction for this?
Thanks!