Skip to content

TagCloud With Different Font Sizes

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

Change Post Series Order

// Change post series order from ASC to DESC function myprefix_post_series_query_args( $args ) { $args['order'] = 'DESC'; return $args; } add_filter( 'wpex_post_series_query_args', 'myprefix_post_series_query_args' );

Read more
Back To Top