WordPress.org

Ready to get started?Download WordPress

Forums

Author Bio Shortcode
[resolved] summary of bio with read more (3 posts)

  1. Frederic Legrand
    Member
    Posted 10 months ago #

    how can i show the bio of a user in summary view with a read more link to his profile page?
    I want to add the bio at the end of custom post type with only 5 or 10 first lines linking to the bio page

    http://wordpress.org/plugins/author-bio-shortcode/

  2. philipjohn
    Member
    Plugin Author

    Posted 10 months ago #

    Hiya,

    By "summary view" do you mean the excerpt? If so, it isn't possible to show it there as WordPress doesn't allow shortcodes in the excerpt.

    Instead, you'd have to add it to your template using the do_shortcode() function, like so:

    <?php
    do_shortcode('[author_bio_shortcode]');
    ?>

    Thanks,
    Phil

  3. Frederic Legrand
    Member
    Posted 10 months ago #

    thanks a lot

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.