Occasionally we all need to place some piece of code in header.php but to show up just on some page, not on all of them. Not needed to be custom page, but maybe you need it just on home page or just to one category, etc. In usual themes that’s easy. You make page-2.php if […]
You do not have sufficient permissions to access this page
If you run a wordpress website and you transfered it to another server/hosting, or made some other significant change, when you try to loggin to WP as administrator, you might get this message: You do not have sufficient permissions to access this page. There are several solutions on net I have found, but none of […]
Contact Form 7 Submit doesn’t work: SyntaxError: JSON.parse
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 browse
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:
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.