WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "child_of" for "the_category" tag? (4 posts)

  1. thenewsguy101
    Member
    Posted 7 years ago #

    If you saw my other post, you'd already know that I'm an editor and I'm setting up the website for my school newspaper. We have about a hundred writers and we can't give them all accounts, so my solution has simply been to give each writer a category. So my cats are organized like this:

    Writers
    > James King, '07, Sports Editor
    > Dan Phan, '08, Writer
    > Jake Jim, '05, News Editor
    etc.

    Section
    > Technology
    > News
    > World Issues
    etc.

    On my front page, below the post title of an article, I'd like to have the author of the article.

    child_of would do this perfectly, but it's only used with wp_list_cats, a template tag that lists all writers, including those that didn't write the story.

    Is there a way to list only the writers who wrote the specific story? Is there a better way to organize large amounts of writers, without giving each their own account?

  2. thenewsguy101
    Member
    Posted 7 years ago #

    Sorry, found a better way to go about this.

    If anyone's curious, I'm using Scott Reilly's Get Custom Field Values and Joshua Sigar's Custom Field GUI plugins. :)

    The Lesson: Categories are categories, not authors.

  3. Samuel B
    moderator
    Posted 7 years ago #

    Ok fella' - quit resolving your own problems or I'll have to report it.

  4. thenewsguy101
    Member
    Posted 7 years ago #

    Yeah right! I might even start helping other people! How's that for rebellious?!

Topic Closed

This topic has been closed to new replies.

About this Topic