This file contains 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
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" prefix="og: http://ogp.me/ns#" <?php language_attributes(); ?>> | |
<?php if (have_posts()):while(have_posts()):the_post();endwhile;endif;?> | |
<!-- Facebook Opengraph --> | |
<meta property="fb:app_id" content="your_app_id" /> | |
<meta property="fb:admins" content="your_admin_id" /> | |
<meta property="og:url" content="<?php the_permalink() ?>"/> | |
<?php if (is_single()) { ?> | |
<meta property="og:title" content="<?php single_post_title(''); ?>" /> | |
<meta property="og:description" content="<?php echo strip_tags(get_the_excerpt($post->ID)); ?>" /> | |
<meta property="og:type" content="article" /> |
This file contains 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 | |
$posttags = get_the_tags(); | |
if ($posttags) { | |
foreach($posttags as $tag) { | |
echo '<a rel=author href="' . $tag->slug . '">' . $tag->name . '</a>'; | |
} | |
} | |
?> |
This file contains 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 | |
/* | |
* Plugin Name: Disable Jetpack Open Graph tags | |
* Plugin URI: http://wordpress.org/extend/plugins/jetpack/ | |
* Description: Disables Jetpack Open Graph tags | |
* Author: Jeremy Herve | |
* Version: 1.0 | |
* Author URI: http://jeremyherve.com | |
* License: GPL2+ | |
*/ |
This file contains 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 | |
/* | |
* Plugin Name: Jetpack shortlinks for sharing buttons | |
* Plugin URI: http://wordpress.org/extend/plugins/jetpack/ | |
* Description: Uses shortlinks instead of the permalink in sharing buttons | |
* Author: Jeremy Herve | |
* Version: 1.0 | |
* Author URI: http://jeremyherve.com | |
* License: GPL2+ | |
*/ |
This file contains 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
.widget_custom_post_widget .sharedaddy { | |
display:none; | |
} |
This file contains 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 | |
/* | |
* Plugin Name: Disable Hybrid's Cleaner Gallery | |
* Plugin URI: http://wordpress.org/extend/plugins/cleaner-gallery/ | |
* Description: Disables "Cleaner Gallery", included in Hybrid themes | |
* Author: Jeremy Herve | |
* Version: 1.1 | |
* Author URI: http://jeremyherve.com | |
* License: GPL2+ | |
*/ |
This file contains 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 if ( is_search() ) : // Only display Excerpts for Search ?> | |
<div class="entry-summary"> | |
<?php the_excerpt(); ?> | |
</div><!-- .entry-summary --> | |
<?php elseif ( is_home() ) : // Only Edit the "Read More" link on the home page ?> | |
<div class="entry-content"> | |
<?php the_content( __( 'Vous voulez en savoir plus ?', 'twentyeleven' ) ); ?> | |
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> | |
</div><!-- .entry-content --> | |
<?php else : ?> |
This file contains 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
/* Jetpack Subscriptions widget | |
------------------------------------------------------------ */ | |
#header .jetpack_subscription_widget { | |
-moz-box-shadow: 0 0 5px #999; | |
-webkit-box-shadow: 0 0 5px #999; | |
background-color: #b2c802; | |
border: 4px solid #fff; | |
border-radius: 10px; | |
box-shadow: 0 0 5px #999; |