do_action and add_action on two different installed plugins won’t work
do_action and add_action on two different installed plugins won’t work
do_action and add_action on two different installed plugins won’t work
Your site codereflect.com is not that heavy. Could be the Suffusion theme and its options making lots of DB calls. I’d use http://wordpress.org/extend/plugins/debug-queries/ to see what queries are being called and how many. And it also could be you’re on a shared box at softlayer that is “too” shared with others.
The template name when declaring a parent in a child theme’s CSS is case sensitive. Try changing the line to: Template: divi
It’s likely a plugin. Disable them, and see if that fixes it. If it does, enable one by one, until you find the culprit. If it’s not a plugin (and even if it is), you can try to increase the memory allocated for PHP. Add this to your config.php: define(‘WP_MEMORY_LIMIT’, ’64M’); You can read more … Read more
If you didn’t hand-change the wpurl in the dev database, what probably happened is that you entered your url, and WP made a 301 redirect to the live site. Then, without realizing it, you changed the url config in your live site. To make it work: Put this in your wp-config.php define(‘WP_SITEURL’, ‘http://your-wp-url.com’); define(‘WP_HOME’, ‘http://your-wp-url.com’); … Read more
This is where the rule of avoiding bloat applies best. You should ask yourself why is it that you have so many errors generated with the code you use. In theory you should not fix the errors but wait for the author to fix it as if you fix it yourself you basically forking the … Read more
I installed w3 total cache plugin and cleared my browser cache. Wish I had of done this pre deleting some forms!
Try this in your theme’s functions.php file, or a .php file of a plugin that you may be writing: add_action(‘save_post’, ‘xxx_save_meta_box’); function xxx_meta_box_callback() { add_meta_box(‘xxx-meta’,’xxx Details’,’xxx_meta_box’,’xxx-post-type’,’side’,’default’); error_log(‘meta box cb’); } function xxx_save_meta_box($post_id, $post) { error_log(‘running …’); die(‘OK!!!’); }
This is caused by wptexturize and the use of a standard <div> to contain your code. See https://developer.wordpress.org/reference/functions/wptexturize/ Instead, markup code as code: Text enclosed in the tags <pre>, <code>, <kbd>, <style>, <script>, and <tt> will be skipped. This list of tags can be changed with the no_texturize_tags filter. Note that the HTML block just … Read more
Probably you dont have any mail server installed/enabled (like sendmail/qmail/postfix) in your local machine. You can still reset your admin password from database. The table “wp_users” stores the password in the “user_pass” field You can just replace the value with a md5 hash value of your desired password for the admin user. Note: This is … Read more