• Skip to main content
  • Skip to primary sidebar

Supplemental Resources

Just The Tech, News, and Info We Deem To Post

  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • WordPress
  • Marketing
  • Business
  • Computing
  • Security
  • Publicity
  • Resources
  • WHATEVS

Override Genesis Theme Settings Layout with Custom Templates

Genesis Theme Framework Code Snippets

Add the following code to your WordPress theme’s function.php file, or a functionality plugin to override Genesis Theme Settings Layout with Custom Templates.

<?php
// Force layout
add_filter('genesis_options', 'content_sidebar_layout', 10, 2);
function content_sidebar_layout($options, $setting) {
    if($setting == GENESIS_SETTINGS_FIELD)
        $options['site_layout'] = 'content-sidebar';
    return $options;
}
genesis();

by Jack Alltrade on May 21, 2018

Filed Under: Code Snippets Tagged With: Code, Custom Templates, Genesis Framework

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

© Copyright Jack Alltrade & Associates 2026 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates