• 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

Genesis Featured Posts not showing Coauthors

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 › General Discussion › Genesis Featured Posts not showing Coauthors

This topic is: not resolved

Tagged: coauthors, featured posts, widget

  • This topic has 9 replies, 3 voices, and was last updated 9 years, 4 months ago by dorel.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • December 6, 2015 at 11:17 pm #172906
    modoweb
    Member

    I'm using Genesis Featured Posts with the Show Posts Info checked and the shortcode [post_authors_post_link] . I also have the plugins Co-Authors Plus and Genesis Co-Authors Plus. The shortcode is displaying a single author even when there are multiple authors but *only* for the widget. For the rest of the site, shortcode works fine. Any idea how I can get the widget to display multiple authors?

    http://oaklandvoices.us/
    December 6, 2015 at 11:38 pm #172908
    Summer
    Member

    The default Genesis Featured Posts isn't that smart, for use with Co-Authors.

    I use the Genesis Sandbox Featured Content Widget to get multiple authors displayed in widget use.


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    December 8, 2015 at 9:22 pm #173253
    modoweb
    Member

    Hi Summer,
    I tried this, but got the same results. Did you do anything special to get the multiple authors to show with the Sandbox widget?
    Thanks,
    Laura

    December 8, 2015 at 11:52 pm #173259
    Summer
    Member

    Did you add the extra code to your functions.php as well?


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    December 9, 2015 at 4:02 pm #173376
    modoweb
    Member

    I did, which is why it is working on the individual posts but not through the Featured Posts widget. Here's a post where it is working, but when you go to the home page you can't see the multiple authors: http://oaklandvoices.us/gun-tracing-pilot-program-approved-public-safety-committee/

    December 9, 2015 at 10:47 pm #173393
    Summer
    Member

    And you also switched to the Genesis Sandbox Featured Content widget? Amd you updated the shortcode in the widget to use the [post_authors_post_link] too?

    I know that handles multiple authors, because I'm using it and it displays multiple authors (I added myself to one movie review just to test, and it worked, showing both names).


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    December 10, 2015 at 9:52 am #173442
    modoweb
    Member

    Hi Summer,
    Yes, I did those steps. I wonder why it works for you and not for me? Here's the code I have in function.php. It's the code from Bill Erickson. Is it the same as yours?
    Thanks!
    -----

    //
    /**
    * Post Authors Post Link Shortcode
    *
    * @author Bill Erickson
    * @link http://www.billerickson.net/wordpress-post-multiple-authors/
    *
    * @param array $atts
    * @return string $authors
    */
    function be_post_authors_post_link_shortcode( $atts ) {

    $atts = shortcode_atts( array(
    'between' => null,
    'between_last' => null,
    'before' => null,
    'after' => null
    ), $atts );

    $authors = function_exists( 'coauthors_posts_links' ) ? coauthors_posts_links( $atts['between'], $atts['between_last'], $atts['before'], $atts['after'], false ) : $atts['before'] . get_author_posts_url() . $atts['after'];
    return $authors;
    }
    add_shortcode( 'post_authors_post_link', 'be_post_authors_post_link_shortcode' );

    /**
    * List Authors in Genesis Post Info
    *
    * @author Bill Erickson
    * @link http://www.billerickson.net/wordpress-post-multiple-authors/
    *
    * @param string $info
    * @return string $info
    */
    function be_post_info( $info ) {
    $info = '[post_authors_post_link]';
    return $info;
    }
    //add_filter( 'genesis_post_info', 'be_post_info' );

    December 10, 2015 at 11:47 am #173466
    Summer
    Member

    Yep, using the same functions.

    What version of Genesis are you using, and what versions of Co-Authors Plus and Genesis Co-Authors Plus are you using?

    I've got Genesis 2.2.3, Co-Authors Plus 3.1.1, Genesis Co-Authors Plus 1.3 (with some custom code added for handling guest author profiles that aren't WP users), and Genesis Sandbox Featured Content Widget 1.1.8. I even have it running on a site still using Genesis 2.1.3, behaving normally.


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    January 4, 2016 at 12:49 pm #175570
    modoweb
    Member

    Hi Summer,
    I don't know if you're still following this. I just got back from a long vacation to find that this is mysteriously working now. I had all the same versions of the plugins & Genesis. So... weird! Thanks again for your help.

    Laura

    January 5, 2016 at 10:03 am #175642
    dorel
    Member

    yeh its working and I am using it


    http://jakoszczedzic.blog.com/

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘General Discussion’ 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