How to customize archive page and "related posts" for better navigation?

3 replies
  • WEB DESIGN
  • |
Hello, I have 2 questions actually, both are related to customizing navigation on my blog. Basically, I'm trying to have my blog function the same way as Steve Pavlina's blog.

1.) I'm trying to "customize" the standard archive page in Wordpress to look like Steve Pavlina's here:
Personal Development Blog Archives

I like how he has it organized by every month, and then under each month he has the date and title of each blog post.

2.) At the end of every one of his blog posts, he has a "read related articles" show up at the bottom. See this blog post (or any other one of his for that matter), and scroll down to the bottom where it says "read related articles":

Self-Discipline: Acceptance

I'm using the "Thesis" theme with Wordpress, and I believe both of these things can be programmed into the custom_functions.php just one time, and then they would be automatically generated every time I write a new blog post.

I don't know much about PHP coding though, so I'm not sure how to customize my archives page and blog posts to do these functions.
Does anyone know how to do this, or maybe have a resource that they can point me to?

Thanks a lot!
#archive #customize #navigation #page #related posts
  • Profile picture of the author kevbo22
    Signature

    The best path to prosperity is free market capitalism!

    {{ DiscussionBoard.errors[8582276].message }}
  • Profile picture of the author Bkelly301
    Thanks for the leads... much appreciated! I will give this a shot.
    {{ DiscussionBoard.errors[8582361].message }}
  • Profile picture of the author Bkelly301
    Hey, I'm almost where I need to be, except I'm not quite there. I took some archive PHP code that I found online, and I altered it slightly so my archives page now looks like:

    - post
    - post
    - post
    - post

    ....and so on.

    That's a much better improvement then the default archives page that Wordpress gives me which just arranges by month. I found that the "postbypost" term is what I was looking for. However, I'm still not quite where I want to be, which is to have my archive look just like the one here: Personal Development Blog Archives

    This archives page has:

    October 2013

    - date: post
    - date: post
    - date: post

    September 2013

    - date: post
    - date: post
    - date: post

    ...and so on. It's more organized because it has each of the articles organized by month, and he also has the actual day in the month right next to the post title in which the post was written.

    I've been searching all over the place in the attempts to create my archive page to look like this, but I'm stumped. Here is the code that I am currently using in the "custom_functions.php" file within my Thesis Wordpress theme:

    function my_archives_template() {
    ?>
    <h3 class="top"><?php _e('By Month:', 'thesis'); ?></h3>
    <ul>
    <?php wp_get_archives('type=postbypost&show_post_date=1' ); ?>
    </ul>

    <?php
    }
    remove_action('thesis_hook_archives_template', 'thesis_archives_template');
    add_action('thesis_hook_archives_template', 'my_archives_template');


    If anyone has any further guidance, I'd appreciate it. Thanks!
    {{ DiscussionBoard.errors[8588000].message }}

Trending Topics