Skip to content

Disable the Gallery Metabox

Disable the Gallery Metabox

The following snippet can be used to disable the Gallery metabox completely so it doesn't display in any post type.

Read more

Move Search Icon to Front/Start of Menu

By default when using certain header styles (header style one, two, three, four, five and six) the search icon is placed at the very end of the menu but it's possible to place the search icon at the start of…

Read more

Add Content Below Mobile Menu

The following snippet is an example of how you can use the "wpex_hook_mobile_menu_bottom" action hook to insert custom content at the bottom of your mobile menu.

Read more

Hide Top Bar Social on Small Devices

The following snippet can be used if you wish to hide the top bar social icons on small (mobile) devices. It works by hooking into the "wpex_topbar_social_class" filter and modifying the classes to add a hidden class at your defined…

Read more

Disable Card Settings Metabox

This can also be done without any code via the Theme Panel.
The following snippet can be used to disable the Card Settings metabox completely from the site.

Read more

Disable WooCommerce Product Gallery Auto Height

By default the WooCommerce product slider will move up and down to match the height of the currently displayed picture. You can disable this by hooking into the "woocommerce_single_product_carousel_options" filter and setting the "smoothHeight" option to false.

Read more

Remove Top Bar Social Links Title Attributes

By default the top bar social links include a title attribute for SEO reasons which will show a little tooltip in the browser when you hover over the social link. If you wish to disable this you can using the…

Read more
Back To Top