The following CSS can be used to make your blog posts smaller and centered (when using the No Sidebar Layout).
Using theme hooks you can easily add any code above your post content. This includes an advertisement banner or Adsense.…
This snippet shows how you can display multiple authors via the Co-Authors plugin within the theme's meta section (this is…
// Change The Blog Related Query Arguments add_filter( 'wpex_blog_post_related_query_args', function( $args ) { // Change orderby parameter from random to…
// Add a new custom block option to the entry blocks in the Customizer add_filter( 'wpex_blog_entry_blocks', function( $blocks ) {…
// Example for overriding a default Blog Post "block" or section // You can add print_r( $blocks ) inside your…
By default WordPress author archives only display posts from the standard post type, however, you can easily tweak things via…
This snippet will add a new setting where you can enter the exact ID's for items to display in the…
/** * Add responsive grid settings to blog grid style entries * Note: Only add the classes you need. For…
// This is now the default in the theme since v5.0, no need for custom code.
This is a simple way of adding a "fallback" image for your blog posts if you want a specific image…
Once you add this code you can go to Appearance > Customize > Blog > Single and you will find…
add_action( 'wpex_hook_page_header_inner', function() { // Only add on blog posts if ( ! is_singular( 'post' ) ) { return; }…
This is very similar to the snippet example here here but it allows you to have a custom output function…
function myprefix_entry_single_meta_sections( $sections ) { $sections['new_section'] = function() { $icon = wpex_get_theme_icon_html( 'folder-o', 'wpex-mr-10' ); echo $icon .'Your stuff here';…
// Alter the related blog posts query to grab items from first category add_filter( 'wpex_blog_post_related_query_args', function ( $args ) {…
// Filter the data attributes to add to the blog gallery slider wrapper add_filter( 'wpex_blog_slider_data_atrributes', function( $attributes ) { //…
/** * Using the filter "wpex_blog_single_layout_blocks" you can enable/disable blocks from the front-end * on single blog posts * *…
add_filter( 'wpex_blog_single_layout_blocks', function( $blocks ) { // Alter blocks for specific category if ( ! is_admin() && in_category( 'parent' )…
unction myprefix_disable_post_page_header( $return ) { if ( is_singular( 'post' ) ) { $return = false; } return $return; } add_filter(…
By default the Total theme disables the "more" tag because it has built-in custom buttons for your blog entries. However,…
The Total theme includes a "Secondary Thumbnail" field which is used for the "Image Swap" overlay style when using custom…