WordPress.org

Ready to get started?Download WordPress

Forums

Various theme coding issues. (1 post)

  1. grypesagon
    Member
    Posted 8 years ago #

    I'm sorry if these codes are addressed somewhere but I've been reading through everything since 3 and it's 6 now and although I've solved most of my own issues I just can't find the right combinations for the last few.
    --------------------------------------------------
    First:
    I'm trying to alter my category template to adhere to the following logic.

    if this is a parent category list the children of self
    if this is a child category list the posts within self
    --------------------------------------------------
    Second:
    Is there a code that, when viewing a single.php generated single post, will echo the category title or category description of the category the post is listed under?
    --------------------------------------------------
    Third:
    Is there a code that, when viewing a page.php generated page, will echo the page title? (I know this one should've been easy but I just can find it.)

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic