Remove the Additional Information and Order Notes fields in WooCommerce
…to display the customer order details. I have seen an alternate method in the tutorial https://www.wpblog.com/display-woocommerce-customer-order-details/ to get customer details from orders but still having issues while displaying the order…
Read MoreFix FOUC ‘flash of unstyled content’ on WordPress
…is ready is a good way to combat FOUC. add_action(‘wp_head’, ‘fouc_protect_against’); /** * Combat FOUC in WordPress * @link https://stackoverflow.com/questions/3221561/eliminate-flash-of-unstyled-content */ function fouc_protect_against () { ?> <style type=”text/css”> .hidden {display:none;}…
Read MoreCustomize WooCommerce Product Search Field
…own custom search field including using an icon. The Original Markup https://gist.github.com/neilgee/e59780dea680caddaa13672ebfaedcde#file-search-original.php This will just reproduce the form in it’s original format. The New Markup https://gist.github.com/neilgee/e59780dea680caddaa13672ebfaedcde#file-search-new.php Here a fontawesome magnifying…
Read MoreAdding Classes and Attributes to HTML elements in Genesis
…archive-pagination genesis_attr_archive-pagination entry-pagination genesis_attr_entry-pagination adjacent-entry-pagination genesis_attr_adjacent-entry-pagination comments-pagination genesis_attr_comments-pagination entry-comments genesis_attr_entry-comments comment genesis_attr_comment comment-author genesis_attr_comment-author comment-author-link genesis_attr_comment-author-link comment-time genesis_attr_comment-time comment-time-link genesis_attr_comment-time-link comment-content genesis_attr_comment-content author-box genesis_attr_author-box sidebar-primary genesis_attr_sidebar-primary sidebar-secondary genesis_attr_sidebar-secondary site-footer genesis_attr_site-footer…
Read MoreForce 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
…experiencing the same issue. Using LifestylePro theme. http://www.thethoughtninja.com. Neil Gee It should work – I tested on Lifestyle Pro and was ok, I would need to see the site with…
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 MoreImage Carousel Thumbnail Slider with ACF Gallery Field in WordPress
…shortcode. Template/Function https://gist.github.com/neilgee/e7c85d013e43b8e552659d843839cb4c#file-template-function-php or… Shortcode https://gist.github.com/neilgee/e7c85d013e43b8e552659d843839cb4c#file-lightslider-shortcode-loop-php In both examples the code is basically the same, how the thumbs show is via the ‘data-thumb‘ attribute – if you want just…
Read MoreAdd WooCommerce add to cart button and quantity field to Shop archive page
…the quantity field use… add_filter( ‘woocommerce_loop_add_to_cart_link’, ‘quantity_inputs_for_woocommerce_loop_add_to_cart_link’, 10, 2 ); /** * Override loop template and show quantities next to add to cart buttons * @link https://gist.github.com/mikejolley/2793710 */ function quantity_inputs_for_woocommerce_loop_add_to_cart_link(…
Read More