Co-Authors Plus
[resolved] Lost Newb can't find where to put in code (4 posts)

  1. talkofthevines
    Posted 4 years ago #

    so, after do hours of research..I cant believe I'm still lost..there are many posts about the same question (I know) but i can't seem to follow them...we are running talkofthevines.com on the twentyeleven theme and trying to use the co-authors plus. I've tried finding the code in the functions.php but with no luck ( i found it and tried to edit it but yeah right..many ftp uploads to fix some big errors)

    if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
     * Prints HTML with meta information for the current post-date/time and author.
     * Create your own twentyeleven_posted_on to override in a child theme
     * @since Twenty Eleven 1.0
    function twentyeleven_posted_on() {
    	printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ),
    		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', 'twentyeleven' ), get_the_author() ) ),

    Is this the only part of my functions i need to replace, and if so...with what?
    are there any other sheets i need to alter?


  2. talkofthevines
    Posted 4 years ago #

    ok..after looking through the posts again and again I finally figured out the code for my twentyeleven theme so that the authors are now listed on the top of the post...still trying to get the bios to show up underneath......a work in progress

  3. talkofthevines
    Posted 4 years ago #


    So here is my Single.php

    I've been trying to edit the code with all the different codes that have been shared on the forums but coming up empty handed. Im looking to add the multiple bios under the posts

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 3 years ago #

    There's some code at the end of this thread you should be able to use.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic