Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host

RECENT POSTS

Remove WordPress site health dashboard and menu item

Wordpress Site Health

You can remove the WordPress site health dashboard widget and menu item with the following snippets Remove Site Health Dashboard Widget add_action(‘wp_dashboard_setup’, ‘themeprefix_remove_dashboard_widget’ ); /** * Remove Site Health Dashboard Widget * */ function themeprefix_remove_dashboard_widget() { remove_meta_box( ‘dashboard_site_health’, ‘dashboard’, ‘normal’ ); } Remove Site Health Menu Item add_action( ‘admin_menu’, ‘remove_site_health_menu’ ); /** * Remove Site…

Getting your Bootstrap Popover Popper going on in Beaver Theme

Popover Poppers Beaver Theme

Bootstrap Popover is a nifty little tool like a tool tip function that displays more text like clicking on the button below. Show me the popover Set up the javascript files Careful of the names we are talking about Popovers but we need a Popper JS file…. Get popper.min.js Create a popover-init.js file with the…

Get Beaver Theme Customizer Setting Values

Beaver Theme Customizer Values

You can get the value of Beaver Theme customizer settings values with FLTheme::get_setting which is similar to the get_theme_mod function, it works like so. FLTheme::get_setting( ‘fl-body-font-family’ ); So in the above, the font value is got from the Customizer > General > Text >  Font Family Assign it to a variable and var_dump it out…

Add Search & Filter Pro Filters In Off-Canvas Menu

Off Canvas Filter Woocommerce

Adding the Search & Filter Pro filters in an off-canvas menu can be a better user experience on mobile devices. This guide uses UABBs Off-Canvas Module with a WooCommerce main shop page built in Beaver Themer. With a desktop/tablet layout already in place, this example uses a 2-column layout, WooCommerce shop page on the right…

Set up WooCommerce shop page with Search and Filter Pro and Beaver Themer

Woocommerce Shop Filter Products

Here is how you can set up the main WooCommerce shop page with Search and Filter Pro and Beaver Themer. The layout is to have the filter options on the left and products on the right, the filtering is using the product categories as well as a custom taxonomy.   Search & Filter Pro In…

HTML 5 Set Up Audio Across All Browsers using m4a, oga, mp3

HTML5 ‘Audio’ is a native tag in HTML 5 and plays the audio linked file in a browser without using a third party plugin such as Flash. Their are 3 formats that are used in HTML 5 Audio and are .mp3, .m4a AAC also known as H.264 format (which is the audio component of mp4)…

Adding a Site Login/Logout Link to an existing Menu in WordPress

Add Login Logut To Menu

You can add on to the end of an existing WordPress menu a site login/logout link. The WordPress menu must be registered and have a theme location, this will not work with custom menus. This needs to be added to your theme functions.php file add_filter( ‘wp_nav_menu_items’, ‘themeprefix_login_logout_link’, 10, 2 ); function themeprefix_login_logout_link( $items, $args ) { if(…

Combining VOB files into one in Linux or macos and convert to MP4

Combining Vob Files Mp4

So you need to combine multiple VOB files from a DVD VIDEO_TS folder into one and convert to MP4? One of the easiest and quickest ways to do this is a simple method on the command line to merge the files and then use a free video converter to change format. Merging the VOBs Launch…

Add a Manual Warm Up Cache / Cache Crawler to LiteSpeed Cache

Warm Cache Litespeed Crawler

In caching plugins normally pages are typically served from a cache after a visitor does an initial view then a cached copy of the page is served up to subsequent visitors via the cache who have faster viewing page loads. This works well in high traffic sites but if the site is more a brochure…