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 the WordPress default login/logout page. The menus need to be registered via register_nav_menu and positioned with theme_location,…

Read More

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 the command line to see its usage. Otherwise, let’s look at getting ‘wget‘… this can…

Read More

Change Default Values in Beaver Builder Themes Customizer Settings

Change Default Customizer Settings Beaver Builder

The Beaver Builder Themes default values in the Customizer can be changed with the fl_theme_add_panel_data filter. These are the values when you click on the default button that return a value set from the original code. The filter is found bb-theme/classes/class-fl-customizer.php and takes 2 parameters $key and $data, the former being the customizer panel and…

Read More

Changing the Customizer Values & Presets for the Beaver Builder Theme

beaver-theme-preset-default

Here is a quick way to override the active preset that comes with the Beaver Builder Theme in the Customizer. This may come in handy if you need to start off with your own preset settings and perhaps remove all the other presets so the theme cannot be drastically changed. You can obviously override the preset…

Read More