WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding authors posts without the proper tag attached. How solve problem? (10 posts)

  1. AlternativePhotography
    Member
    Posted 4 years ago #

    I would like to show a list of authors in the sidebar and the posts they've written. The "problem" is that they don't have the proper author tag, since me (admin) added the articles (emailed to me), and not the author. Now, how do i list this the best way? Do i make a custom field called "Author" and make that list the posts, or do i use a tag?
    Appreciate a logical person's thoughts! :-)

  2. MichaelH
    Member
    Posted 4 years ago #

    If you use a tag then you can offer a list of tags (authors) that allow the user to click and see all the posts in that tag.

    You can do the same with custom fields but would need something like scribu's Custom Fields Taxonomy plugin to provide that same ability.
    http://wordpress.org/extend/plugins/custom-field-taxonomies/

    Querying posts, using tags or custom fields is possible, but this plugin does that also:
    http://wordpress.org/extend/plugins/query-posts/

    Of course, you could just change the author is Edit Posts....

  3. AlternativePhotography
    Member
    Posted 4 years ago #

    @MichaelH Thanks for responding,
    I guess using a tag would be good, then just keeping track of all the tags, and which to display.
    I'm enjoying learning php, and i've even mangaged to make pages that call up categories i want to show! :-)

    Of course, you could just change the author is Edit Posts....

    Is that the drop down called "Post Author" you mean, or is it another feature i have not seen? I'm not sure it would work in that case, since not too many of the authors have their own login, a lot of the articles i am transferring from an old static sites archive has authors that hardly have a computer.

  4. MichaelH
    Member
    Posted 4 years ago #

    Yes it was the post author pulldown I was referring to.

  5. AlternativePhotography
    Member
    Posted 4 years ago #

    I'll go for the tag solution then. Thank you so much for your time.

  6. AlternativePhotography
    Member
    Posted 4 years ago #

    Back again, tried a few different scripts that does not do what i want... any ideas where i can find one that:
    -Makes a list of tags of authors in the sidebar.
    -List their posts underneath, or has a link to list them on the page.
    -Displays the post on the page when clicked.
    Help appreciated! :-)

  7. MichaelH
    Member
    Posted 4 years ago #

    What about using the template tag, wp_list_authors(), in your sidebar. It will provide a link to the author's posts.

  8. AlternativePhotography
    Member
    Posted 4 years ago #

    Hi Michael,
    The problem is that they are not listed as authors, but in a tag... i.e. i need to call up a couple of tags. Any ideas how I do that?

  9. AlternativePhotography
    Member
    Posted 4 years ago #

    Ha! I'm so pleased with myself, i came up with a solution... since i had to do a manual list anyway, i just did the list in a text widget, added it to the sidebar, and use a link tag:

  10. AlternativePhotography
    Member
    Posted 4 years ago #

    (sorry) Here it is:
    <a href="/wp/tag/name-surname/">
    Thanks for your advice, very helpful!

Topic Closed

This topic has been closed to new replies.

About this Topic