• 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/functions/general.php


Lines:

1 to 63 of 63
<?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 StudioPress\Genesis
 * @author  StudioPress
 * @license GPL-2.0-or-later
 * @link    https://my.studiopress.com/themes/genesis/
 */

/* function genesis_enable_author_box() – Enable the author box for ALL users. */

/* function genesis_admin_redirect() – Redirect the user to an admin page, and add query args to the URL string for alerts, etc. */

add_action( 'template_redirect', 'genesis_custom_field_redirect', 20 );
/* function genesis_custom_field_redirect() – Redirect singular page to an alternate URL. */

/* function genesis_get_theme_support_arg() – Return a specific value from the array passed as the second argument to `add_theme_support()`. */

/* function genesis_is_in_dev_mode() – Check if the environment is in development mode via SCRIPT_DEBUG constant. */

/* function genesis_get_theme_handle() – Gets the theme handle from the CHILD_THEME_VERSION constant (if defined), or ‘Theme Name’ header in style.css. */

/* function genesis_get_theme_version() – Gets the active theme version from CHILD_THEME_VERSION constant (if defined), style.css in production, or a timestamp if SCRIPT_DEBUG is true. */

/* function genesis_get_config() – Locate and require a config file. */

/* function genesis_detect_plugin() – Detect active plugin by constant, class or function existence. */

/* function genesis_is_menu_page() – Check that we’re targeting a specific Genesis admin page. */

/* function genesis_is_customizer() – Check whether we are currently viewing the site via the WordPress Customizer. */

/* function genesis_is_blog_template() – Determine if the Blog template is being used. */

/* function genesis_get_global_post_type_name() – Get the `post_type` from the global `$post` if supplied value is empty. */

/* function genesis_get_cpt_archive_types() – Get list of custom post type objects which need an archive settings page. */

/* function genesis_get_cpt_archive_types_names() – Get list of custom post type names which need an archive settings page. */

/* function genesis_has_post_type_archive_support() – Check if a post type supports an archive setting page. */

/* function genesis_html5() – Determine if HTML5 is activated by the child theme. */

/* function genesis_a11y() – Determine if theme support genesis-accessibility is activated by the child theme. */

/* function genesis_sitemap() – Display a HTML sitemap. */

/* function genesis_get_sitemap() – Get markup for a HTML sitemap. */

/* function genesis_plugin_install_link() – Build links to install plugins. */

/* function genesis_is_root_page() – Check if the root page of the site is being viewed. */

/* function genesis_canonical_url() – Calculate and return the canonical URL. */

/* function genesis_is_amp() – Checks if this web page is an AMP URL. */
 

Called by

    Invoked by

      Calls

      Call hooks

      File name: lib/functions/general.php
      Plugin ref: Genesis Framework
      Version: 3.3.3
      Deprecated?: No
      API Letters: F,G,L,P

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

      Primary Sidebar

      Information

      File name: lib/functions/general.php
      Plugin ref: Genesis Framework
      Version: 3.3.3
      Deprecated?: No
      API Letters: F,G,L,P

      lib/functions

      Footer

      Genesis a2z
      Genesis Theme Framework a2z
      WordPress Dynamic API Reference
      WordPress 5.6
      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-2021. All rights reserved.


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

      • Home
      • Blog
      • Sitemap
      • Sites