Responsively Removing Width and Height Attributes on Images and wp-caption on WordPress
…set the largest size you need and just use the max-width property set to 100% img { max-width:100%;} This way the image will only scale as wide as how many…
Read MoreImage Carousel Thumbnail Slider with ACF Gallery Field in WordPress
… Set up Lightslider for WordPress use Download the latest version of Lightslider and file the following in your WordPress Child Theme… css/lightslider.min.js js/lightslider.min.css img/controls.png Then set up the…
Read MoreUsing ‘Local by FlyWheel’ as a Local Development Workflow for WordPress
…should have been DevWheel or FlyDev. Once you sign up for the download Local by FlyWheel you will get an email with a download link to a zip archive, download…
Read MoreCache warming a website with Optimus Prime
…trawling the sites sitemap so the cache app starts to cache all the pages. Download and extract it via Command Line wget -c https://cdn.pmylund.com/files/tools/ocp2/linux/ocp-2.7-amd64.tar.gz -O – | tar -xz Alias…
Read MoreInstall and set up wp-cli WordPress on shared and local hosting
…–dbname=”DBNAME” –dbuser=”DBUSER” –dbpass=“DBPASSWORD” Insert your values and drop the quotes Finish the Install wp core install –url=”http://BLOG_URL” –title=”BLOG_NAME” –admin_user=”ADMIN_USER” –admin_password=“PASSWORD” –admin_email=”ADMIN_EMAIL” Insert your values and drop the quotes After which…
Read MoreBlock xmlrpc.php and wp-login.php via NGINX
…fastcgi_intercept_errors on; fastcgi_pass unix:/var/run/appname.sock; } The above rule for blocking wp-login.php is working on a RunCloud instance. RunCloud uses the app name as the virtual NGINX sock file, you will…
Read MoreSwap WordPress TwentyTwelve Mobile Menu to Slick Navigation Menu
….main-navigation li ul { display: none; margin: 0; padding: 0; position: absolute; top: 100%; z-index: 1; } .main-navigation li ul ul { top: 0; left: 100%; } .main-navigation ul li:hover…
Read MoreAdd WooCommerce Add to Cart Button to Menu with Offscreen content like Outfitter Pro
…Behaviour To add items from a woocommerce archive page and update the cart items number circle immediately ensure the ajax option is unchecked in woocommerce settings. Demo site …
Read MoreUsing WooCommerce with Varnish, exclude pages and cookies
…Cloudways interface this is done per web app under the Apps > Application Management > Application Settings > Varnish Settings. In this interface you can also exclude URLs which…
Read MoreCreate and Add Custom Taxonomy to WordPress Posts
…Method’, ‘taxonomy singular name’ ), ‘search_items’ => __( ‘Search in Coach Methods’ ), ‘all_items’ => __( ‘All Coach Methods’ ), ‘most_used_items’ => null, ‘parent_item’ => null, ‘parent_item_colon’ => null, ‘edit_item’…
Read More