WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen
Author page listing of author's posts (7 posts)

  1. yorokobi
    Member
    Posted 1 year ago #

    I figured out that I needed to add CSS to my child theme to "undo" the display:hidden attribute on the author links, but....

    Now when a visitor clicks the author's name, they get the vcard blurb, gravitar, and a long list of WHOLE posts.

    Is there anyway, short of putting custom content-x.php files in a child theme with is_home() added to the is_search() conditional statement, to have the author page display a list of EXCERPTS of posts?

    (Maybe you guys "buried" {display:hidden;} this link because you were still sorting out how to handle this?)

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    There is the is_author() fot that.

  3. yorokobi
    Member
    Posted 1 year ago #

    I miss typed, I should have written

    "Is there anyway, short of putting custom content-x.php files in a child theme with is_author() added to the is_search() conditional statement, to have the author page display a list of EXCERPTS of posts?"

    So, I know about is_author, and I *could* make copies of the *several* content-XXXXX.php files in the theme, but I really try to minimize the number of files I override in my child themes, for the sake of later updates.

  4. paulwpxp
    Font hero
    Posted 1 year ago #

    You can overwrite only 1 template which is author.php. In its loop, don't use theme's default get_template_part(), use your own modified version of content.php.

  5. yorokobi
    Member
    Posted 1 year ago #

    That is true, but if forgoes the special formatting, unless I go to great pains to recreate it.

    That's not impossible, nor out of the question, I'm just hoping for something more graceful.

    Checking first, before I go and code it all out, I hate when I do that and THEN discover some simple thing I could have done.

  6. paulwpxp
    Font hero
    Posted 1 year ago #

    You can filter the output of the_content().
    http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files

    The first impression when reading your request, I was thinking something along the line of simplified author archive page, easy to browse through each post title and its excerpt.

    For fully styled, there are main Blog home already, along with category and tag. Also, you did make visible the author links, so your blog is a single author one. The author archive with full styling are almost the same as Blog home.

  7. yorokobi
    Member
    Posted 1 year ago #

    That's a good idea.

    And just so you know, the site in question isn't the one linked to my name. The site linked to my name is using "Responsive".

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic