• Hi Everyone,

    I have a question about displaying a ‘short’ and ‘long’ bio, using the same profile information that an author has entered in the ‘About Yourself \ Biographical Info’ section in his profile.

    Let me please explain in more detail:
    I am running a multi-author blog (https://hetnieuwewerkenblog.nl) and I am in the process of building a new release that includes a custom author.php so every author has a page that displays additional information about them. I have already build an author bio box that is displayed at the end of each post, pulling the info from the user’ ‘Biographical Info’ in his profile.

    I am using <?php the_author_description(); ?> to pull that info into single.php and <?php echo $curauth->user_description; ?> to pull that info into author.php. This is all working just fine ??

    What I would like to achieve is the following:
    I would like to be able to ‘cut’ the user’s biographical info so that the author bio box on a single posts only displays the information before the ‘cut’ (creating a ‘short’ bio). Next, the author’s bio on the author’s information page (author.php) should displays all the information from his ‘Biographical Info’ (the ‘long’ bio). Ideally, I can imagine creating a cut with the <!–more–> tag.

    Is this possible? What code would be needed to achieve this?

Viewing 1 replies (of 1 total)
  • Hey Alexve,

    I made that with text widget, and it was more simple than coding. [link moderated – if you have videos and tutorials that are helpful please submit them to https://wordpress.tv/ and use those links]

    Nice blog you have.

Viewing 1 replies (of 1 total)
  • The topic ‘Howto create short and long bio from user’s biographical info?’ is closed to new replies.