This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Class Inspiry_Additional_Meta_Fields_Builder { | |
| public static $_instance; | |
| public $meta_box_data; | |
| function __construct(){ | |
| $this->meta_box_data = $this->inspiry_get_meta_box_value_array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Enqueue custom fonts using protocol relative URL. | |
| * | |
| * Syntax: wp_enqueue_style( $handle, $src, $deps, $ver, $media ); | |
| * Ensure $handle is unique to prevent conflicts with plugins | |
| * | |
| * Note(s): The pipe (|) operator is used to load multiple typefaces in a single call. We also only load the weights we want * by comma seperating them, instead of loading every available weight. | |
| */ | |
| function theme_prefix_fonts() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| /** | |
| * Repeatable Custom Fields in a Metabox | |
| * Author: Helen Hou-Sandi | |
| * | |
| * From a bespoke system, so currently not modular - will fix soon | |
| * Note that this particular metadata is saved as one multidimensional array (serialized) | |
| */ | |
| function hhs_get_sample_options() { |