Integration for Sally Theme
-
I am trying to implement this plugin for my theme, but I’m not sure what code to replace.
Here is what I have in my author.php file:
<?php /** * @package sally * @since sally 1.0 */ get_header(); ?> <div class="container container-content"> <div class="row"> <div class="col-md-8 sl-feedgrid"> <div class="bb-author"> <?php echo get_avatar( get_the_author_meta('ID'), 140 ); ?> <h4><?php _e('About','sally') ?> <?php the_author(); ?></h4> <span class="mini-tag"><?php _e('has published', 'sally'); ?> <?php the_author_posts(); ?> <?php _e('posts', 'sally'); ?></span> <p class="author-bio"><?php the_author_meta('description'); ?></p> <div class="mini-icons hidden-xs"><?php sally_author_icons(); ?></div> </div> <!-- /bb-author--> <h3 class="sec-title sec-l"><span><?php printf( __( 'Posts By %s', 'sally' ), '<a class="url vcard fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a>' ); ?></span></h3> <div id="sl-main-feed" class="row"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="sl-entry <?php if ( !is_sticky() ) { echo "col-md-6"; } else { echo "col-md-12"; } ?>"> <?php get_template_part('content'); ?> </div> <?php endwhile; endif; ?> </div> <!-- /sl-main-feed--> <?php sally_content_nav(); ?> </div> <!-- /sl-feedgrid--> <?php get_sidebar(); ?> </div> </div> <!-- /sl-container--> <?php get_footer(); ?>Any ideas?
The topic ‘Integration for Sally Theme’ is closed to new replies.