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 | |
| /** | |
| * When hooked to either the_content or the_excerpt filters, | |
| * this should append the signature before the Jetpack sharing buttons | |
| * are added, so long as the priority is 18 or less! | |
| * (as Jetpack's sharing options go in at priority 19) | |
| * | |
| * @param string $content The post content as passed to the function | |
| * @returns string The content with the author box appended to it. |
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
| /* 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; |
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 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 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 | |
| /* | |
| * 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 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
| .widget_custom_post_widget .sharedaddy { | |
| display:none; | |
| } |
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 | |
| /* | |
| * 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 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 | |
| /* | |
| * 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 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 | |
| $posttags = get_the_tags(); | |
| if ($posttags) { | |
| foreach($posttags as $tag) { | |
| echo '<a rel=author href="' . $tag->slug . '">' . $tag->name . '</a>'; | |
| } | |
| } | |
| ?> |