I experienced situation with Contact Form 7 on one WordPress website recently, when submit button didn’t want to work at all. Spinning circle didn’t appeared, not any message (error or succesfuly sent) email wasn’t sent, nothing. On click to Submit button just notning happened.
When I opened Developer Tools Console in Chrome browser, I got this error message:
JSON.parse: unexpected non-whitespace character after JSON data at line X column X of the JSON data
Hide Contact Form 7 after successful send
In WordPress Contact Form 7 plugin, after form is submited and data is sent successful, visitor gets the message about it bellow the form. Sometimes you may want actual form fields to get hide after sending. Here is pretty easy way how you can do that: Continue reading Hide Contact Form 7 after successful send
BXslider images from folder
BXslider is one of the most popular slider scrips. And it’s really great when you are not adding new images to slider frequently. But I had situation on one website where I needed adding images often and I wanted to make that easier. So I made small adjustment and kind of addon so it can pull images from folder and add them in slider dynamically. You just need to add new image in folder you had set in script, and it will showup.
Continue reading BXslider images from folder
Smooth scroll to top link
Here is simple solution for animated, smooth scoll to top link. To the top of page link that will go easy, in animated way to the top or to whatever part of webpage you want.
In head add this jQuery code:
Disable menu-toggle in new WP themes
In wordpress twenty twelve and lot of other new WP themes, there is automatic menu-toggle for small screens. Sometimes you don’t want that but you want leave your existing menu, just to modify it a bit for android, Iphone etc.
Continue reading Disable menu-toggle in new WP themes