Add 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 More

Add 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 More

Re-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 More

Add 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

Set up WordPress Code Standards on Visual Studio Code on macOS


Here is a guide on how to get WordPress code standards using  PHPCodesniffer on Visual Studio Code text editor using the WordPress code standards, this will be done via adding PHPCodesniffer via Composer, you can also add PHPCodesniffer via Pear or Homebrew, I used to have it running via Pear but have found it to be not as reliable…

Read More