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 | |
| /** | |
| * The Better Gallery shortcode, courtesy of WordPress Core | |
| * | |
| * Wanted to extend our Bootstrap Slideshow so that you could put in Post IDs and get back a slideshow. | |
| * Basically the same thing that the default slideshow does, so why not use that! | |
| * | |
| * @since 1.0 | |
| * | |
| * @param array $attr Attributes of the shortcode. |
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 | |
| /** | |
| * Function to count the statuses of Maker Faire applications | |
| */ | |
| function mf_count_post_statuses() { | |
| $types = array( | |
| 'Any' => 'any', | |
| 'Accepted' => 'accepted', | |
| 'Draft' => 'draft', | |
| 'In Progress' => 'in-progress', |
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 | |
| /** | |
| * Hide Maker Faire applications from past faires | |
| * | |
| * In the past, CS had a method for only selecting the current | |
| * faire for applications. We want to do the same here, and prevent | |
| * all applications from showing up in the edit screen. | |
| * | |
| * @global $query | |
| * |
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
| <div id="disqus_thread"></div> | |
| <script type="text/javascript"> | |
| /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | |
| var disqus_shortname = 'makerfaire'; // required: replace example with your forum shortname | |
| /* * * DON'T EDIT BELOW THIS LINE * * */ | |
| (function() { | |
| var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | |
| dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | |
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); |
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
| 654896 Center Stage | |
| 921378 Racetrack | |
| 27475665 Pedal Powered Stage | |
| 36578739 Life-Size Mousetrap | |
| 129846826 Drone Games | |
| 156780557 Battle Pond | |
| 164745398 Make: Education Stage | |
| 164745444 Make: Electronics Stage | |
| 164745603 Maker Shed Stage | |
| 164940502 Meet the Makers Stage |
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
| <select name="location" id="location" class="postform"> | |
| <option value="0" selected="selected">View All Locations</option> | |
| <option class="level-0" value="654896">Center Stage</option> | |
| <option class="level-0" value="921378">Racetrack</option> | |
| <option class="level-0" value="27475665">Pedal Powered Stage</option> | |
| <option class="level-0" value="36578739">Life-Size Mousetrap</option> | |
| <option class="level-0" value="129846826">Drone Games</option> | |
| <option class="level-0" value="156780557">Battle Pond</option> | |
| <option class="level-0" value="164745398">Make: Education Stage</option> | |
| <option class="level-0" value="164745444">Make: Electronics Stage</option> |
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 | |
| WP_CLI::add_command( 'makerfaire', 'MAKE_CLI' ); | |
| class MAKE_CLI extends WP_CLI_Command { | |
| /** | |
| * Add tags and cats to posts. | |
| * Read the category and tag out of the JSON array, and then assign to the post. | |
| * | |
| * @subcommand cats |
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 | |
| WP_CLI::add_command( 'makerfaire', 'MAKE_CLI' ); | |
| class MAKE_CLI extends WP_CLI_Command { | |
| /** | |
| * Add tags and cats to posts. | |
| * Read the category and tag out of the JSON array, and then assign to the post. | |
| * | |
| * @subcommand cats |
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 | |
| WP_CLI::add_command( 'makerfaire', 'MAKE_CLI' ); | |
| class MAKE_CLI extends WP_CLI_Command { | |
| /** | |
| * Add tags and cats to posts. | |
| * Read the category and tag out of the JSON array, and then assign to the post. | |
| * | |
| * @subcommand cats |
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 | |
| WP_CLI::add_command( 'makerfaire', 'MAKE_CLI' ); | |
| class MAKE_CLI extends WP_CLI_Command { | |
| /** | |
| * Add tags and cats to posts. | |
| * Read the category and tag out of the JSON array, and then assign to the post. | |
| * | |
| * @subcommand cats |