Skip to content

Remove Recommended Plugins Notice

Remove Recommended Plugins Notice

// Remove certain plugins function my_recommended_plugins( $plugins ) { // Remove notice to install WooCommerce unset( $plugins['woocommerce'] ); // Return plugins return $plugins; } add_filter( 'wpex_recommended_plugins', 'my_recommended_plugins' ); // Remove all plugins // THIS IS NOT RECOMMENDED IF YOU ARE…

Read more

Alter Page Title Subheading

The following snippet can be used to modify the page header title subheading text. In this example you can see how you could remove the default subheading on the author archives or how you could add a custom subheading for…

Read more

Alter Main Page Title

// Example showing how to alter the page title, adjust accordingly to match your needs add_filter( 'wpex_title', function( $title ) { // Change the products title to their actual title if ( function_exists( 'is_product' ) && is_product() ) { $title…

Read more

Alter Default Post Slider Position

/** * Alter the default post slider position * * Default : 'below_title' * Choices : 'below_title', 'above_title', 'above_menu', 'above_header', 'above_topbar' * */ function my_page_slider_position( $position, $meta = '' ) { // Change position to "above_title" unless custom position is…

Read more

Adding/Removing Page Settings Metabox From Post Types

add_filter( 'wpex_main_metaboxes_post_types', function( $types ) { // Add to my custom-type post type $types[] = 'custom-type'; $types[] = 'custom-type-2'; $types[] = 'custom-type-3'; // Remove from blog posts unset( $types['post'] ); // Return post types array return $types; }, 20 );

Read more

Alter WooCommerce Placeholder Image HTML

The following snippet allows you to override the default placeholder image HTML output for your main shop page and archives. If all you want to do is change the default placeholder image (not the full html) you can do this…

Read more
Back To Top