Setting Up GeoIP Location on Piwik on ServerPilot
Using a combination of ServerPilot and a Vultr server instance is a great solution for a Piwik server for tracking analytics. After setting up the initial Piwik install here is how you can set up the GeoIP location module set up to enable you to view visitor results from City and Country Location. Piwik can…
Read MoreReplacing the default ServerPilot Firewall with your own using UFW
ServerPilot comes with a default firewall enabled when you connect to a droplet instance such as from Vultr or Digital Ocean, the only option you have from the ServerPilot control panel is to toggle if on or off. The actual firewall used is called UFW (uncomplicated firewall) which is a simplistic wrapper over the underlying IP…
Read MoreAdd System Font Stack to Customiser Preset in Beaver Builder Theme & Plugin
A system font stack is a series of fonts that are native to Apple, Windows and Linux desktop and mobile operating systems, they are inbuilt so are fast to load and provide a relatively comfortable and consistent display across different mediums. Beaver Theme 1.6.2 has added some additional filters that allow extra fonts to be…
Read MoreAdd Category and Tag Archive Descriptions in Beaver Builder Theme
Here is a way to add the category or tag description to the archive page under the archive title of a Beaver Builder Child Theme which does not show by default, to do this we will copy a couple of files from parent to our child theme and add in a WordPress function. Copy the…
Read MoreAdd WooCommerce Styles to The Customizer in WordPress
Adding the WooCommerce styles to the Customizer in WordPress can help you quickly style and scaffold some common components of WooCommerce. This tutorial takes you through how to set that up in a WordPress starter theme using a child theme. This is an intermediate example and not all the code is explained in detail. First…
Read MoreAdd an Extended Store Schema Type to ‘Business Profile’ WordPress Plugin
Business Profile WordPress plugin feeds some rich Google microdata schema to search, you can extend what is available in the plugin to other known schema for a business. This example uses a Florist as an example, Florist is a valid schema under Store but does not appear in the plugin dropdown options. For other valid schemas,…
Read MoreAdd a Mobile Number Field to WordPress ‘Business Profile’ Plugin
Here’s how you can add an additional field like a mobile number to the Business Profile plugin. The plugin has many hooks and filters to allow us to create an extender style plugin as in the one below. We are utilising 3 filters bpfwp_settings_page, bpwfp_contact_card_defaults and bpwfwp_component_callbacks – 1 callback prefix_print_mobile and enqueueing some CSS to exisiting CSS with…
Read MoreRe-order WordPress Plugin ‘Business Profile’ Contact Fields
Business Profile plugin is a great SEO microdata schema WordPress plugin for business with a number of fields to display contact information and have rich schema in the markup. The fcontact ields are output in a default way… phone contact name address opening_hours map parent_organization address There is a filter that allows you to change…
Read MoreRemove the default Mobile Menu in Beaver Builder Theme
Here is how to remove the default mobile menu from the Beaver Builder Theme – you may need to do so as you want to use another plugin or simply don’t need it. Add some Jquery Adjust the CSS Fire the Jquery Source/Ref
Read MoreAdd a Numeric Pagination with Accessibility in the Beaver Builder Theme
The default WordPress post pagination used in Beaver Builder Theme uses wp_pagenavi() and gives output as below. You can swap this single post navigation for a numeric display using the navigation function the_posts_pagination(), this also has the added benefit of using accessibility features for screen readers. First up is to make sure you copy…
Read More