search results based on categories or custom fields

I’m not sure how much of a help this will be, but this is a (probably overly convoluted) snippet of code I wrote a few years ago for a shortcode to display posts by category. If nothing else it may at least put you on the right track. $featured_posts = get_posts( array( ‘category’ => $atts[‘cat’], … Read more

How to speed up installing plugins and upgrading WordPress

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