• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

NO Sidebar Co Author

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › NO Sidebar Co Author

This topic is: not resolved

Tagged: co-authors plus

  • This topic has 7 replies, 2 voices, and was last updated 9 years, 4 months ago by estevaosoares.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 4, 2016 at 9:40 pm #178351
    estevaosoares
    Member

    Hi,

    How can I show 2 Author (Co Author)
    I tried Co Author Plus without success.

    Could you help me?

    February 4, 2016 at 10:02 pm #178352
    Brad Dalton
    Participant

    Please paste the code you used with Co Authors plus.


    Tutorials for StudioPress Themes.

    February 5, 2016 at 6:07 am #178373
    estevaosoares
    Member

    This is a lit bit confusing to me.
    Is it the same thing as Twenty theme?

    I tried to paste this in my functions.php

    function coauthors( $between = null, $betweenLast = null, $before = null, $after = null, $echo = true ){
    return coauthors__echo('display_name', 'field', array(
    'between' => $between,
    'betweenLast' => $betweenLast,
    'before' => $before,
    'after' => $after
    ), null, $echo );
    }

    no luck

    February 5, 2016 at 6:10 am #178375
    Brad Dalton
    Participant

    That code won't work. Try this http://www.billerickson.net/wordpress-post-multiple-authors/


    Tutorials for StudioPress Themes.

    February 5, 2016 at 9:18 pm #178420
    estevaosoares
    Member

    Does not work for me either.

    Is there a step prior to all this?
    I'm unable to select 2 users as Authors inside my post. Shouldn't I be able to do that?

    February 5, 2016 at 9:26 pm #178422
    estevaosoares
    Member

    I reinstalled both Co Author Plus and Genesis Co Author Plus and it's working like a charm.

    Thanks

    February 6, 2016 at 12:54 am #178449
    Brad Dalton
    Participant

    Good stuff!

    By the way, thats not the only method as there are others.


    Tutorials for StudioPress Themes.

    February 11, 2016 at 1:19 pm #178379
    estevaosoares
    Member

    I still don't understand how to implement this on genesis.
    This link leads me to an example with Twenty, but how to implement this on Genesis?

    if ( ! function_exists( 'twentyten_posted_on' ) ) :
    /**
    * Integrate Co-Authors Plus with TwentyTen by replacing twentyten_posted_on() with this function
    */
    function twentyten_posted_on() {
    if ( function_exists( 'coauthors_posts_links' ) ) :
    printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
    'meta-prep meta-prep-author',
    sprintf( '<span class="entry-date">%3$s</span>',
    get_permalink(),
    esc_attr( get_the_time() ),
    get_the_date()
    ),
    coauthors_posts_links( null, null, null, null, false )
    );
    else:
    printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
    'meta-prep meta-prep-author',
    sprintf( '<span class="entry-date">%3$s</span>',
    get_permalink(),
    esc_attr( get_the_time() ),
    get_the_date()
    ),
    sprintf( '<span class="author vcard">%3$s</span>',
    get_author_posts_url( get_the_author_meta( 'ID' ) ),
    esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ),
    get_the_author()
    )
    );
    endif;
    }
    endif;

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble