WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Extra fields... again (3 posts)

  1. webgrade
    Member
    Posted 1 year ago #

    Hi Daniel.

    I'm wondering if it's possible to create extra fields in the 'Name' or 'About the Guest Author' sections of the backend?

    I've created some new fields in the 'Contact Info' section. No sweat. but I can't figure out to create new ones in these two sections?
    Furthermore. Is it possible to create more sections than the three already there?

    Great plugin by the way ;)

    All the best

    Jesper

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

  2. Nick Ciske
    Member
    Posted 1 year ago #

    It's a custom post type so you can add metaboxes as you would any other CPT (e.g. via code or a plugin).

    I just used ACF to add a WYSIWYG bio field (default was too small/limited for the project). Just choose 'Post Type' = 'guest-author' in the Location settings.

    http://wordpress.org/plugins/advanced-custom-fields/

  3. webgrade
    Member
    Posted 1 year ago #

    Hi Nick.

    Thank you for your reply.
    However I figured out how to do this in the functions.php.

    This is the solution, if anyone wonders.

    if ( in_array( 'all', $groups ) || in_array( 'about', $groups ) ) {
    $fields_to_return[] = array(
    'key' => 'favquote',
    'label' => 'Quote',
    'group' => 'about',
    );

    So issue is solved :)

    Jesper

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.