Styling Default Select DropDown Fields

style-select-dropdown

The default dropdown select field form element is difficult to style in CSS alone – it needs a bit of jQuery love, here is a guide to add some cleaner styling to change default dropdown sort select fields.   Then…

jQuery Document Ready Function For WordPress

Document Ready Wordpress

You can set up a jQuery document ready function for use with WordPress and use the jQuery library that WordPress ships with rather than use another one. Here are three ways to use jQuery document ready function with WordPress. Usually,…

Set Up SMTP/Email for Local Valet WordPress Development

Mailhog Smtp Local Setup

If you have a Laravel  WordPress Valet workflow, you can use MailHog as an email SMTP catchall solution when testing email issues. You set up an SMTP host on the WordPress install and all email sent gets captured in MailHog, a…

Add text block to a Gravity Form visible when sent as email

Gravity Form Disable Input

You may want to show arbitrary text on a Gravity Form that is not shown on the website but is sent on the email along with the other fields. In the Gravity Form add a paragraph field and add in your…

Sticking An Element To The Top Of The Browser After Scroll

You can stick an element to the head of the browser after a user has scrolled past it with either pure CSS or jQuery with the help of Waypoints and Sticky Elements. CSS You can actually do this with a…

Add WooCommerce MyAccount Page Login/Logout to Menu

This code adds a login/logout link to your WordPress primary menu to log the user into the WooCommerce My Account page and then also log out to the same or different page. It differs from the referred article as that adds…

Add Javascript and CSS files to the Head and Footer in WordPress

Getting it right in the head As a hack every now and then I used to add in javascript or CSS files with links hardcoded directly into the header.php or footer.php template files of a WordPress theme. This really is a no…

Install and Configure wget on macOS

Xcode Yosemite

macOS Mojave, Sierra, and earlier versions come with the command line utility called ‘curl’ which is a network transfer tool, it does not come with the popular ‘wget’, in fact, ‘curl’ can probably get you by just fine, check man curl at…

Add Link Tag to Whole Column in Beaver Builder Layout

Wrap Column In Link

To add a link to a whole column in a Beaver Builder layout you need to use some jQuery to add the link tag markup to make the whole column clickable. This post has 2 solutions the first is the…