Skip to content

Move Footer Outside of Boxed Layout

Move Footer Outside of Boxed Layout

function myprefix_move_footer_outside_of_boxed_wrapper() { // Remove footer from wrap remove_action( 'wpex_hook_wrap_bottom', 'wpex_footer' ); // Re-add footer after outer wrap add_action( 'wpex_outer_wrap_after', 'wpex_footer' ); } add_action( 'init', 'myprefix_move_footer_outside_of_boxed_wrapper', 999 );

Read more

Remove Portfolio Categories From Breadcrumbs

// Remove portfolio categories from breadcrumbs trail function myprefix_remove_portfolio_cats_from_breadcrumbs( $trail ) { if ( is_singular( 'portfolio' ) ) { unset( $trail['portfolio_categories'] ); unset( $trail['categories'] ); } return $trail; } add_filter( 'wpex_breadcrumbs_trail', 'myprefix_remove_portfolio_cats_from_breadcrumbs', 20 );

Read more

TagCloud With Different Font Sizes

add_filter( 'widget_tag_cloud_args', function( $args ) { $args['largest'] = '0.923'; // add your custom largest size here $args['smallest'] = '0.923'; // Add your custom smallest size here $args['unit'] = 'em'; // You can choose between em or px values return $args;…

Read more

Change The Blog Related Query Arguments

// Change The Blog Related Query Arguments function myprefix_blog_post_related_query_args( $args ) { // Remove tax_query parameter so it doesn't try and display items from the same category $args['tax_query'] = NULL; // Change orderby parameter from random to date $args['orderby'] =…

Read more

Add Overlay To Custom Post Type Entry

/** * Example function for altering your entry overlay style for custom post types * outside the scope of the theme. * * Available options: see Total/framework/overlays.php wpex_overlay_styles_array() * * @since 3.2.0 * @return string */ function myprefix_edd_entry_overlay() { return…

Read more
Back To Top