WordPress.org

Ready to get started?Download WordPress

Forums

List of ALL articles... (9 posts)

  1. barbary
    Member
    Posted 8 years ago #

    I'd like to provide my readers:

    (a) a list of all of my blog entries sorted by month, -AND-
    (b) a list of all articles sorted by category.

    Is anyone aware of a PLUGIN to do this? I must not be alone in this need...

  2. lhk
    Member
    Posted 8 years ago #

    Try Clean Archives:

    http://www.sporadicnonsense.com/

  3. barbary
    Member
    Posted 8 years ago #

    Awesome thanks!

    I wonder, however... they suggest calling the "Clean Archives" with a PHP function anywhere... suggesting sidebar.php as an option.

    However, I'd like to create a new PAGE, and have it run there. When I create a new, in ADMIN, and put the PHP in there, it doesn't run. Any idea how to do this?

    I'm new on PHP...

    Cheers,
    NORTH

  4. lhk
    Member
    Posted 8 years ago #

    Hi,

    You need to place the tag in the archives.php, replacing the ones for archives already there.

    Then you create an empty page (just having a title or at most an introductory message) and assign it the template "archives".

    All you need to do then is drop a link to the archives into the sidebar or wherever your nav is.

  5. barbary
    Member
    Posted 8 years ago #

    Nice... I thought I understood you, until I got lost on this:

    [Then you create an empty page (just having a title or at most an introductory message) and assign it the template "archives".]

    I created an empty page, but no obvious way how to assign it the template "archives"??

    [All you need to do then is drop a link to the archives into the sidebar or wherever your nav is.]

    If I created an empty page, and saved it, didn't it create the link to this empty page... which I titled archives?

    HUH?! HAHA... I'm just all out confused. HAHA..

  6. lhk
    Member
    Posted 8 years ago #

    When you create a page you can choose which template it uses, on the right side of the textarea, maybe you have to click the plus sign.

    Whether it creates a link depends on your theme. So possibly yes.

  7. ebaltz
    Member
    Posted 8 years ago #


  8. barbary
    Member
    Posted 8 years ago #

    Hmmmm... doesn't seem to be there in my version 2.01.

    I have:

    Discussion
    Password-protect post
    Page parent
    Post slug
    Post author
    Page order

    ...sorry, I wish it were there!

  9. moshu
    Member
    Posted 8 years ago #

    If you have only 1 (one) Page template - the option to choose a template doesn't show up. You need at least 2 Page templates to get that option in the admin panel.

    See how it is done in the Default theme: there is a page.php (=the default Page template that should be in every decent theme); and archives.php.
    Useful reading about creating Page templates:
    http://codex.wordpress.org/Pages#Page_Templates

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.