Force a Read More Link on all Post Excerpts in WordPress
…my link: http://www.bestcssbuttongenerator.com/ Hope it helps! kaushik Wonderful ! Works for posts that have short text and special content such as video,shortcode recipe etc. Bryan Stellar. This is exactly what…
Read MoreAdd a Full Width Responsive Header Image to a Genesis Theme
…CSS needs to be added to your style.css file like so: .site-header { background-image: url(/wp-content/uploads/2014/05/imagename.jpg); background-repeat: no-repeat; background-position: center center; background-size: cover; } The image you use needs to be…
Read MoreHow to connect to a MySQL or mariadb database with PHP
…FirstName, LastName, Email, City) VALUES (‘1’, ‘Adam’, ‘Best’, ‘abest@mac.com‘, ‘Brisbane’); INSERT INTO table_name (PersonID, FirstName, LastName, Email, City) VALUES (‘2’, ‘Simon’, ‘Says’, ‘says@mac.com‘, ‘Brisbane’); INSERT INTO table_name (PersonID, FirstName, LastName,…
Read MoreQuery dns/domains in macos using dig and nslookup via the command line
…the command line: dig domain.com or nslookup domain.com The results are returned to you on the command line. Query from a different nameserver To query another different nameserver using dig…
Read MoreChange WordPress Domain URL with WP-CLI Tool
…config: WP-CLI project config: WP-CLI version: 2.4.0 The format for the command is wp search-replace ‘olddomain’ ‘newdomain’ wp search-replace ‘olddomain.com‘ ‘newdomain.com‘ You can test the command with a dry run…
Read MoreStyling Default Select DropDown Fields
…select2-init.js file in your js folder – so your structure will be… yourtheme/css/select2.min.cs yourtheme/js/select2.min.js yourtheme/js/select2-init.js Set Up Scripts in functions.php https://gist.github.com/neilgee/c1ad4088cad40d201bcd010c1268a314#file-functions-php Select the field to target https://gist.github.com/neilgee/c1ad4088cad40d201bcd010c1268a314#file-selectize-init-js In the…
Read MoreCreate a slider of WooCommerce Product Featured Images
…https://gist.github.com/neilgee/d26637f9123adcaa9fc6#file-slick-php Create the WooCommerce Loop https://gist.github.com/neilgee/b9dd5cbc8eb57e2b83712ea2d891303a For the WooCommerce loop, I am creating a shortcode so I can easily insert anywhere [[woo_featured_image]] That’s the bare bones of it, now a…
Read MoreAdding Multiple Fading Images To A Background with jQuery
…in Photoshop, if the background images are more abstract in nature and the image is less defined you can probably get that jpeg compression down to a level 3 of…
Read MoreUsing WooCommerce with Varnish, exclude pages and cookies
David Villalpando Just wanted to say thanks! Thanks! Mike Hancock This is great, thank you! Another thing to exclude is ?download_file= It’s used for digital download redirects, varnish was causing…
Read MoreSwap Post Title and Image Position on Archive Page in Genesis
…a recommended Genesis developer (http://www.studiopress.com/genesis-developers) – it should be you, Sir :). Again, thanks for all your help! – Sean Leslie Thank YOU!!! I have been working on this for…
Read More