WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
how to integrate co-authors plus with skirmish theme? (1 post)

  1. warrentong
    Member
    Posted 11 months ago #

    so i broke my site for a bit trying to figure out how to integrate this plug-in. I'm pretty sure this is the part i need to work with, but i'm not sure what to do. help? let me know if you need more info.

    if ( ! function_exists( 'skirmish_posted_on' ) ) :
    /**
     * Prints HTML with meta information for the current post-date/time and author.
     *
     * @since skirmish 1.0
     */
    
    function skirmish_posted_on() {
    	printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'skirmish' ),
    		esc_url( get_permalink() ),
    		esc_attr( get_the_time() ),
    		esc_attr( get_the_date( 'c' ) ),
    		esc_html( get_the_date() ),
    		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    		esc_attr( sprintf( __( 'View all posts by %s', 'skirmish' ), get_the_author() ) ),
    		esc_html( get_the_author() )
    	);
    }
    endif;

    http://wordpress.org/plugins/co-authors-plus/

Reply

You must log in to post.

About this Plugin

About this Topic