Skip to content

Instantly share code, notes, and snippets.

@kalinchernev
kalinchernev / countries
Created October 6, 2014 09:42
Plain text list of countries
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua & Deps
Argentina
Armenia
Australia
Austria
@studiopress
studiopress / force-layout-settings.php
Last active June 24, 2021 21:01
Genesis admin management.
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Force content-sidebar layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' );
//* Force sidebar-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' );
//* Force content-sidebar-sidebar layout setting