Not able to Update wordpress to 4.0
Not able to Update wordpress to 4.0
Not able to Update wordpress to 4.0
Found answer here: https://stackoverflow.com/a/19718745/3691686 wampmanager -> PHP -> PHP Extensions -> php_zip
I re-ran the WordPress update to 4.0 on a backed-up version of the site (files and db) and everything went through without a hitch, so I’m not sure what happened. I did find a plugin (Search and Replace) that helped to replace all of the resultant strings with the ascii html character that they should … Read more
As you’re using a VPS with SSH access, give WP-CLI a try http://wp-cli.org/ can work wonderfully http://centminmod.com/nginx_configure_wordpress_ffpc_plugin.html#installwp for example to install limit login attempts plugin just run this command from SSH within your wordpress install directory wp plugin install limit-login-attempts –activate –allow-root full list of command line options at http://wp-cli.org/commands/ updating plugins http://wp-cli.org/commands/plugin/ & http://wp-cli.org/commands/plugin/update/ … Read more
I’m going to be short: Be up to date is very important. There are a lot of reasons but my “favourite” is security. Make a backup before update, so you can restore the site if something was wrong. What can be broken and how could it be fixed? I can not know, I’ve never used … Read more
I formed this query based on this answer. I would appear this is no longer the way to do it… I reformatted the query to look like this: query_posts( array( ‘post_type’ => ‘events’, ‘showposts’ => -1, ‘order’ => ‘ASC’, ‘orderby’ => ‘meta_value_num’, ‘meta_query’ => array( ‘relation’ => ‘OR’, array( ‘key’ => ‘_ecmb_datetime’, ‘value’ => strtotime(‘today … Read more
You should definitely use Version control systems like Git, SVN, Mercurial etc. It will cover all your needs and more.
The best way is to define a new role. An easy way to accomplish this is with the role scoper plugin. Otherwise you’ll just have to write that plugin yourself manually. Here is a basic example pulled from the Codex $result = add_role( ‘basic_contributor’, __( ‘Basic Contributor’ ), array( ‘read’ => true, // true allows … Read more
Okay, this is weird. I walked away for coffee, came back, and the error was gone. I was then presented with the WordPress login screen.
Find all the functions “get_avatar” used in your theme folder. Identify the wrong calls echo get_avatar($comment,$size=”48″,$default=”<path_to_url>” ); or echo get_avatar($comment,48,'<path_to_url>’ ); If you find these,then change it to echo get_avatar( $comment, 48 ); . Hope this gonna help you 🙂