Adding a Sticky Footer to Beaver Builder Theme with CSS

A sticky footer refers to a web page footer that sticks to the foot of the page even when there is not a lot of content on the page, without one the footer will ride up leaving the layout somewhat unsightly. …
Hide WooCommerce Product Categories on Shop Page or other Page

You can hide certain WooCommerce product categories from the shop page or other targetted pages, by using an action called woocommerce_product_query Add it in your theme via functions.php and it works like so… So the action is wrapped in a…
Installing WordPress wp-cli on macOS

Installing wp-cli on macOS – WordPress has a command line tool which operates similar to what Drush does for Drupal, it is called wp-cli and runs on macOS/Linux operating systems with a minimum of PHP 5.3.2 or later and WordPress 3.5.2 or later. Install wp-cli…
Add Taxonomy Terms as CSS Classes to a Post

You can use the body_class filter in WordPress to add the Taxonomy Terms of a Custom Taxonomy as CSS classes to a post. The CSS class appears in the body element and is only used if the post has been…
Change the WordPress Post Type name to Something Else

You can change the default Post type name in WordPress from Posts to something else like News using the get_post_type_object, normal behaviour of the Posts occur, just the label name in the WordPress dashboard has been changed. add_action( ‘init’, ‘cp_change_post_object’…
Create Shortcode for the Permalink in WordPress

You can create a shortcode for the permalink in WordPress to use in a string output or more likely as a value for a link attribute, this can be handy if you can’t use PHP in a certain interface. add_shortcode(…
Anchor Link Offset to Other Pages with Fixed Header Size

Here is a snippet of code that will link to an anchor link on another page with a fixed offset which allows for a fixed header size, so the link appears further down below the header of further down the…
Add Search Icon After Menu using Beaver Themer with the Beaver Theme

Here’s how you can add a search icon after a menu in a header done in the Beaver Theme using Beaver Themer. Create a Shortcode for the Beaver Builder Search function add_shortcode( ‘bb_search’,’bb_search_shortcode’ ); /* Add Search via shortcode */…
Add and Show Featured Images in Taxonomy Templates and in Single and Archive Posts

You can add a featured image to a Category Taxonomy in WordPress by using ACF and selecting the categories taxonomy, so now a new image field appears in the category back end page, the same process can be applied to…
Minimum System Requirements for macOS Mojave 10.14 – Is yours good enough?

Find out if your Apple computer meets the minimum system requirements of the new macOS Mojave 10.4. Apple have released a developer beta of their upcoming operating system named macOS Mojave, which will be macOS 10.14. The name MoJave continues…