Support,
I am trying to include the short code in my functions file and the counter outputs, but there is a separate div wrapping the counter. I can’t for the life of me to get the counter to display inline with my other post info. I am using the Genesis framework. Here is the code I am using –
//* Customize the post info function
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = '[post_date], [post_categories], [post-views]';
return $post_info;
}}
Would inserting php directly instead of the shortcode strip the excess div away? Not too familiar with php – any advice would be greatly appreciated!
My site is http://jam.buzz
Thanks in advance!
Chris