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
| <?php | |
| /** | |
| * Widget custom fields class | |
| * | |
| * Extends Custom_Fields class | |
| * | |
| * @since 1.0.0 | |
| * @author Stellar Blue Technologies | |
| * @licence GNU-2.0+ | |
| */ |
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
| <?php | |
| /** | |
| * Custom Field | |
| * | |
| * Parent class defines custom fields and then builds | |
| * arrays to assign custom fields | |
| * | |
| * @since 1.0.0 | |
| * @author Stellar Blue Technologies | |
| * @licence GNU-2.0+ |
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
| <?php | |
| /** | |
| * Class Post Type Builder | |
| */ | |
| class Post_Type_Builder { | |
| /** | |
| * var $instance | |
| */ |
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
| ######################################################## | |
| # MarksMedia .gitignore for Client Sites - Version 1.0 # | |
| ######################################################## | |
| ### This file should be placed in the site's root dir | |
| # WordPress & Hosting Provider # | |
| /index.php | |
| /wp-*.php | |
| /db-config.php |
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
| <?php | |
| /** | |
| * Class Map | |
| */ | |
| class Map { | |
| /** | |
| * Map all cards | |
| * | |
| * if multiple cards from multiple plugins exist, return an 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
| <?php | |
| /** | |
| * Find recipes | |
| * | |
| * determine what posts have Easy Recipe recipe cards and place the | |
| * post and id in an array | |
| * | |
| * key = to post ID; value = all post content | |
| * | |
| * @return array $recipe_posts |
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
| /** | |
| * saveWorkout | |
| * | |
| * @returns {Array} | |
| */ | |
| var saveWorkout = function() { | |
| var workout = [], | |
| els = document.getElementsByClassName( 'day-exercises' ); | |
| for ( var i = 0; i < els.length; i++ ) { |
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
| <?php | |
| array ( | |
| 15 => | |
| array ( | |
| 'isEasyRecipe' => true, | |
| 'recipeVersion' => '3.5.3226', | |
| 'isFormatted' => false, | |
| 'recipeIX' => 0, | |
| 'name' => 'Turkey Dinner', | |
| 'cuisine' => 'American', |
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
| var question1 = prompt("Who is POSTUS?"); | |
| var question2 = prompt("How many senators are there?"); | |
| var question3 = prompt("How many braches of gov are there?"); | |
| var question4 = prompt("Who is the vice prez?"); | |
| var question5 = prompt("Who has the house majority?"); | |
| var answer1 = "Trump"; | |
| var anwser2 = "50"; | |
| var answer3 = "3"; | |
| var answer4 = "Pence"; |
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
| <?php | |
| /** | |
| * Front Page | |
| */ | |
| global $post; | |
| $h1_title = get_the_title( $post->ID ); | |
| $args = array( | |
| 'post_type' => 'menu' //or your cpt name | |
| ); |