Code for listing title of archives sections? (5 posts)

  1. dearcrissydotcom
    Posted 11 years ago #

    Dumb people like me abuse this forum, I'm sure. Ah well, here we go:

    OK, so everything is peachy on http://dearcrissy.com, except that when you view my archives or archives by category, it just shows the list of entries and no title above them like "Archives for June" or "Archives for City Girl" (in the case of categories.)

    can anyone impart this nugget of wisdom to me as to how I might append those relevant titles to my archives lists?

    grazie in advance.

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    On your first sentence ? No way are you :)

    I use this:

  3. iand
    Posted 11 years ago #

    You could try something like
    <div class="something">Your are currently browsing the archive of <?php wp_title(); ?></div> in your archive.php file, where you want it to appear.

  4. dearcrissydotcom
    Posted 11 years ago #

    I really like the idea behind that method, but it is a little heavy for what I want. I'm really happy with my archives as they are, just want the titles of the types of archives to show up.

    thanks for taking the time though!

  5. dearcrissydotcom
    Posted 11 years ago #

    Ian, exactly! When I get this site finished I'm going to make a credits page and credit the hell out of you.

    thanks for all of your support and help, it has been more than helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic