• So I’ve searched everywhere with no real solution to what I’m looking for and so I’m starting to wonder if this just isn’t possible. It appears that the Genesis “layout options” are made for doing quick structural changes without creating a whole new template file. The problem is I’m pretty sure I need some more options and I’m wondering if anyone could give me insight on how to get them using the layout options provided within the Genesis framework.

    Currently this is my code:

    // Add custom layout options
    genesis_register_layout( 'Full_Width_Video', array(
    	'label' => __('Full Video Page', 'genesis'),
    	'img' => GENESIS_ADMIN_IMAGES_URL . '/layouts/full-width-video.gif',
    ) );
    add_action('genesis_before', 'full_width_video_logic');
    function full_width_video_logic() {
    
        $site_layout = genesis_site_layout();
    
        if ( $site_layout == 'Full_Width_Video' ) {
                    //Remove default genesis sidebars
            remove_action( 'genesis_loop', 'genesis_do_loop' ); // Remove default loop
            add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    
        }
    }

    This basically makes sense to me, and I kinda have what I’m looking for but I need options to customize the look like I would in my template file.

    • Remove the title and details above the content
    • Remove margins on the content area so that the video I embed stretches from end to end of my wrapper

    If I was using a template.php file I know how to do this essential just making want from scratch but not sure how to do it with this approach and the client would really prefer having this options rather than the template dropdown.

    Any help would be appreciated I’ll be around for some time so please post what help you can so I don’t chase too many rabbit trails.

Viewing 1 replies (of 1 total)
  • As this is a commercial theme and/or its template files are not publically accessible, you need to seek support from the theme vendors.

Viewing 1 replies (of 1 total)
  • The topic ‘Genesis layout option add customer template’ is closed to new replies.