Another sidebar for blog posts only

  • In Progress
    Posted in: Highend WP Theme  
  • Customer
    azoeller
    October 1, 2022 at 6:31 pm #157912

    Hello,

    I would love to set another default sidebar for ALL (current and future) blog posts. It would be great to have an option in highend setting to set the default sidebar for all CPTs individually (posts, pages, archive, search page and CPTs).

    Default Page Layout Settings
    Set the default meta settings values for new posts and pages. These settings will also be applied to your archives and search pages.

    In the meantime I am using:

    function custom_highend_page_layout( $layout ) {
    		if ( is_page() ) {
    			return 'fullwidth';
    		}
    		
    		return $layout;
    	}
    	add_filter( 'highend_page_layout', 'custom_highend_page_layout' );
    

    Thank you very much

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.