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. */