Code to Change Page Layout Using Genesis Framework

If you want to change the page layout for specific sites, you can use this code: This code changes the default page layout for the site with ID 292 and the child pages of the site with ID 292. Possible layouts are: content-sidebar sidebar-content content-sidebar-sidebar sidebar-sidebar-content sidebar-content-sidebar full-width-content

Code to Change Page Layout Using Genesis Framework Read More »

Redirect to First Child Page Using Genesis Framework

If you have a parent page, that should redirect to the first child page, you may use this snippet. Create a new file named “go_to_first_child_template.php” in your theme directory. Add the following content to the new file: Now you have to select as page template for the desired parent page the Template “Redirect to first […]

Redirect to First Child Page Using Genesis Framework Read More »

Disable Hover Menu in Genesis

To disable the hover menu containing the subpages in a Genesis theme, you have to do the following: Remove drop-down-menu from the accessibility features. Somewhere in your functions.php may be a line like this one: Remove drop-down-menu from this line: Next step is to add the following line. By default, the genesis_superfish_enabled filter is false, […]

Disable Hover Menu in Genesis Read More »

Scroll to Top