First create global variables (in functions.php or as a mu-plugin):
<?php
/*
* CUSTOM GLOBAL VARIABLES
*/
function wtnerd_global_vars() {| <figure class="quote"> | |
| <blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
| </figure> |
| <?php | |
| /** | |
| * Template Name: Testimonial Archives | |
| * Description: Used as a page template to show page contents, followed by a loop through a CPT archive | |
| */ | |
| remove_action ('genesis_loop', 'genesis_do_loop'); // Remove the standard loop | |
| add_action( 'genesis_loop', 'custom_do_grid_loop' ); // Add custom loop |
| /* | |
| * Supposition v0.3a - an optional enhancer for Superfish jQuery menu widget | |
| * | |
| * Copyright (c) 2013 Joel Birch - based on work by Jesse Klaasse - credit goes largely to him. | |
| * Special thanks to Karl Swedberg for valuable input. | |
| * | |
| * Dual licensed under the MIT and GPL licenses: | |
| * http://www.opensource.org/licenses/mit-license.php | |
| * http://www.gnu.org/licenses/gpl.html | |
| */ |
First create global variables (in functions.php or as a mu-plugin):
<?php
/*
* CUSTOM GLOBAL VARIABLES
*/
function wtnerd_global_vars() {| <?php | |
| /** | |
| * Set Advanced Custom Fields metabox priority. | |
| * | |
| * @param string $priority The metabox priority. | |
| * @param array $field_group The field group data. | |
| * @return string $priority The metabox priority, modified. | |
| */ | |
| function km_set_acf_metabox_priority( $priority, $field_group ) { |