Skip to content

Instantly share code, notes, and snippets.

@wpspeak
Last active Dec 18, 2015
Embed
What would you like to do?
Add ZillaShare shortcode plugin to post info in Genesis Framework
<?php
// Add Zillashare shortcode plugin to post info in Genesis Framework
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit] [zilla_share]';
return $post_info;
}}
.zilla-share {
float: right;
margin: 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment