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
<h1 class="red">World Maker Faire New York: Live</h1> | |
[ustream id=16033689 live=1 hwaccel=1 version=3 width=940 height=529] | |
<h1 class="red"><a class="red" href="http://makerfaire.com/location/make-live-stage-a_zone-c/" title="Make: Live Stage">Make: Live Stage</a> - The Air Rocket Glider</h1> | |
[youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=940&h=529] | |
<h3>Watch More Great Videos from World Maker Faire New York 2013</h3> | |
<p><a href="#" target="_blank">TEST OLD STHINGSOGNAUIH UWYGFUYW</a></p> |
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
<a href="<?php the_permalink(); ?>"> | |
<span class="arrows">»</span> <h3 class="look_like_h4"><?php the_title(); ?></h3> | |
<span class="blurb"> | |
<?php echo wp_trim_words(strip_shortcodes( get_the_excerpt() ), 20, '...') ; ?> | |
</span> | |
</a> |
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 | |
// Load up WordPress into our iFrame | |
$absolute_path = __FILE__; | |
$path_to_file = explode( 'wp-content', $absolute_path ); | |
$path_to_wp = $path_to_file[0]; | |
require_once( $path_to_wp . 'wp-load.php' ); | |
if ( ! is_user_logged_in() || ! current_user_can( 'edit_posts' ) ) | |
wp_die( 'Oops! You can\'t call this page directly.' ); |
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
diff --git a/plugins/gigya/resources/core.php b/plugins/gigya/resources/core.php | |
index fcad6fa..5e3ed74 100644 | |
--- a/plugins/gigya/resources/core.php | |
+++ b/plugins/gigya/resources/core.php | |
@@ -34,13 +34,13 @@ class GigyaSO_Core { | |
$header_text = (isset($params["header_text"]) ? $params["header_text"] : __("Sign in with your Social Network:")); | |
- if($params["width"]) { | |
+ if( isset( $params["width"] ) ) { |
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 class="span12 footer_copyright text-center"> | |
- <p><a href="http://makezine.com/">Make:</a> and <a href="http://makerfaire.com/">Maker Faire</a> are registered trademarks of <a href="http://makermedia.com/">Maker Media, Inc.</a><br> | |
- Copyright © 2004-<?php echo date("Y") ?> Maker Media, Inc. All rights reserved<br> | |
- <?php if ( function_exists('vip_powered_wpcom') ) { echo vip_powered_wpcom(4); } ?> | |
- </p> | |
+ <p><a href="http://makezine.com/">Make:</a> and <a href="http://makerfaire.com/">Maker Faire</a> are registered trademarks of <a href="http://makermedia.com/">Maker Media, Inc.</a></p> | |
+ <p>Copyright © 2004-<?php echo date("Y") ?> Maker Media, Inc. All rights reserved</p> | |
+ <p><?php if ( function_exists('vip_powered_wpcom') ) { echo vip_powered_wpcom(4); } ?></p> | |
</div> |
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
$output = '<div class="sip-promo-area ' . esc_attr( $align ) . '"><a href="' . get_permalink( 348718 ) . '"><img src="'.get_stylesheet_directory_uri().'/images/3DPrintingSIP_Widget_Final.jpg" class="" style="width:234px; height: auto;" /></a></div>'; |
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 // Inject this code near the top of the header.php like below the title or somewhere around there ?> | |
<?php if ( get_post_type == 'maker' ) { | |
echo '<meta name="robots" content="noindex, follow">'; | |
} ?> | |
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="content"> | |
<?php | |
$args = array( | |
'post_type' => 'recipes', | |
'paged' => ( get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1 ), | |
); | |
// It's generally a good idea to give a unique name for your new query, so I'll name this $recipes | |
$recipes = new WP_Query( $args ); | |
?> |
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 query variable | |
$queried_term = get_query_var( 'Clients' ); | |
// Return the terms for current post based off the query variable. Make you sanitize your queries!! | |
$terms = wp_get_post_terms( absint( get_the_ID() ), 'Clients', array( 'fields' => 'all' ) ); | |
// Start the arguments for WP_Query(). We'll define an empty tax_query | |
// so we hav something to dump our terms into programatically. | |
$args = 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
/** | |
* Register our sidebars and widgetized areas. | |
* Add this block to your functions.php | |
* | |
*/ | |
function arphabet_widgets_init() { | |
register_sidebar( array( | |
'name' => 'Home right sidebar', | |
'id' => 'home_right_1', // Take note of the ID! We'll need this to call the right widgetized area in our theme |