• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Genesis Theme Framework a2z

Genesis Theme Framework a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / lib/structure/layout.php


Lines:

1 to 57 of 57
<?php

/**
 * Genesis Framework.
 *
 * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
 * Please do all modifications in the form of a child theme.
 *
 * @package Genesis\Layout
 * @author  StudioPress
 * @license GPL-2.0-or-later
 * @link    https://my.studiopress.com/themes/genesis/
 */

add_filter( 'content_width', 'genesis_content_width', 10, 3 );
/* function genesis_content_width() – Filter the content width based on the user selected layout. */

add_filter( 'body_class', 'genesis_custom_body_class', 15 );
/* function genesis_custom_body_class() – Add custom field body class(es) to the body classes. */

add_filter( 'body_class', 'genesis_header_body_classes' );
/* function genesis_header_body_classes() – Add header-* classes to the body class. */

add_filter( 'body_class', 'genesis_layout_body_classes' );
/* function genesis_layout_body_classes() – Add site layout classes to the body classes. */

add_filter( 'body_class', 'genesis_title_hidden_body_class' );
/* function genesis_title_hidden_body_class() – Adds a `genesis-title-hidden` body class if title output is suppressed on the current page. */

add_filter( 'body_class', 'genesis_breadcrumbs_hidden_body_class' );
/* function genesis_breadcrumbs_hidden_body_class() – Adds a `genesis-breadcrumbs-hidden` body class if breadcrumbs are hidden on the current page. */

add_filter( 'body_class', 'genesis_singular_image_hidden_body_class' );
/* function genesis_singular_image_hidden_body_class() – Adds a `genesis-singular-image-hidden` body class if “hide featured image” is enabled. */

add_filter( 'body_class', 'genesis_singular_image_visible_body_class' );
/* function genesis_singular_image_visible_body_class() – Adds a `genesis-singular-image-visible` body class. */

add_filter( 'body_class', 'genesis_footer_widgets_hidden_body_class' );
/* function genesis_footer_widgets_hidden_body_class() – Adds `genesis-footer-widgets-hidden` and genesis-footer-widgets-visible` body classes if footer widgets
are supported by the child theme and the Footer Widgets Panel is available in the Genesis Sidebar. */

add_filter( 'body_class', 'genesis_archive_no_results_body_class' );
/* function genesis_archive_no_results_body_class() – Add archive-no-results body class on empty archive pages. */

add_filter( 'body_class', 'genesis_style_selector_body_classes' );
/* function genesis_style_selector_body_classes() – Add style selector classes to the body classes. */

add_filter( 'body_class', 'genesis_cpt_archive_body_class', 15 );
/* function genesis_cpt_archive_body_class() – Adds a custom class to the custom post type archive body classes. */

add_action( 'genesis_after_content', 'genesis_get_sidebar' );
/* function genesis_get_sidebar() – Output the sidebar.php file if layout allows for it. */

add_action( 'genesis_after_content_sidebar_wrap', 'genesis_get_sidebar_alt' );
/* function genesis_get_sidebar_alt() – Output the sidebar_alt.php file if layout allows for it. */
 

Called by

    Invoked by

      Calls

      Call hooks

      File name: lib/structure/layout.php
      Plugin ref: Genesis Framework
      Version: 3.3.5
      Deprecated?: No
      API Letters: L,P,S

      Published: 25th November 2019 | Last updated: 25th November 2019

      Primary Sidebar

      Information

      File name: lib/structure/layout.php
      Plugin ref: Genesis Framework
      Version: 3.3.5
      Deprecated?: No
      API Letters: L,P,S

      lib/structure

      Footer

      Genesis a2z
      Genesis Theme Framework a2z
      WordPress Dynamic API Reference
      WordPress 5.9.3
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  genesis.wp-a2z.org
      © Copyright Genesis a2z 2014-2022. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites