Skip to content

Better RSS Feeds (Removes Shortcodes & Displays Thumbnail)

Better RSS Feeds (Removes Shortcodes & Displays Thumbnail)

// IMPORTANT: Use this function to clear your RSS cache so you can see your changes, then REMOVE it function prefix_set_feed_cache_time( $seconds ) { return 0; } add_filter( 'wp_feed_cache_transient_lifetime' , 'prefix_set_feed_cache_time' ); // Custom RSS feed function my_custom_rss_feed( $content )…

Read more

Adding Your Own Accent Elements

// Add more elements to the accent color backgrounds function my_accent_backgrounds( $elements ) { $elements[] = '.your-custom-class'; return $elements; } add_filter( 'wpex_accent_backgrounds', 'my_accent_backgrounds' ); // Add more elements to the accent color borders function my_accent_borders( $elements ) { $elements[] =…

Read more

Change Post Series Archive Entry Style

/** * Change Post Series Archive Entry Style * Available options: large-image-entry-style, thumbnail-entry-style, grid-entry-style */ function my_post_series_entry_style( $style ) { if ( is_tax( 'post_series' ) ) return 'grid-entry-style'; return $style; } add_filter( 'wpex_blog_style', 'my_post_series_entry_style' ); add_filter( 'wpex_blog_entry_style', 'my_post_series_entry_style' );

Read more

Change Post Series Archive Layout

// Change Post Series Archive Layout function my_alter_post_series_layout( $layout ) { if ( is_tax( 'post_series' ) ) { return 'full-width'; } return $layout; } add_filter( 'wpex_post_layout_class', 'my_alter_post_series_layout' );

Read more

How to Change The Main Menu Location Conditionally

In the Total theme the main header menu by default uses the "main_menu" location. However, you can easily alter the default location using the "wpex_main_menu_location" filter. This can be useful if you want to define a new menu location via…

Read more
Back To Top