WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] listing categories and archives on separate pages (no sidebar) (7 posts)

  1. laudienne
    Member
    Posted 8 years ago #

    Hey all. I've created my own WP theme and, rather than have a sidebar like the classic/default theme, I was hoping to have a few links to pop-up pages that would list my blog's categories, archives by month, useful links for me, etc.

    To get a better idea of what I'm talking about, I sort of have things set up here:
    glish.laudienne.com

    What I'm asking about is this: the coding that would make the category and archive links come up on a default WP page (like index.php or sidebar.php) don't work in these pop-ups that were created by me. I've tried everything and nothing seemed to let me list them in the pop-up - I just get heaps of errors, obviously because the PHP isn't recognized.

    I'm not too familiar with PHP (I'm an HTML kind of girl myself, though it may seem old-fashioned ;]), so the fix to this problem could be staring me right in the face and I wouldn't know it - even so, I'd be so grateful for any suggestions you may have. :) Thanks!!

  2. moshu
    Member
    Posted 8 years ago #

    Yeah, popups are annoying... old-fashioned or not :)
    You can have them on separate Pages - but I have no idea about popups. I block them!

  3. laudienne
    Member
    Posted 8 years ago #

    I know, I normally hate them too. It's just so much more convenient than fighting with a sidebar that doesn't seem to want to work - my site isn't that heavily travelled, and I want to make it as easy to manuever for myself as possible.

    That's exactly what I'm asking - how can I get them to appear on separate pages? My pop-ups are just normal HTML pages that are shrunk to a 200xwhatever size, nothing special. :)

  4. moshu
    Member
    Posted 8 years ago #

    Actually, in the default theme you have an Archive Page Template (it's called archives.php - notice the S at the end!). It lists your monthly and category archives :)
    Study it. Read about Pages and Page templates:
    http://codex.wordpress.org/Pages
    Also see the section Templates -> links.php is a Links Page template...

    But the popups are bad :(

  5. laudienne
    Member
    Posted 8 years ago #

    Okay, well since you've got such a grudge against pop-ups, lol, and the only way to seemingly do this is to use WP pages (though I wish there was a way around that!), I tried adding two pages through the Write a Page feature that would hold my two link lists.

    First problem: the links (the months and the categories) aren't showing up at all. Here are the two pages:

    http://glish.laudienne.com/?page_id=4
    http://glish.laudienne.com/?page_id=5

    Second problem: is there any way, assuming I can clear up the first problem, to make the two pages look less like posts? The date is at the top, and likewise all the comment information is at the bottom. Is there a way to get rid of all that and just leave them normal webpages?

  6. moshu
    Member
    Posted 8 years ago #

    Actually those Pages don't show anything :)
    If they had the proper code they would show something.

    And not so post-like... edit your Page templates.
    I didn't say just to "create" Pages - I said: do read about Page Templates! Read and make them.

    (rant: hate when people don't read the resources and come back posting nonsenses)

  7. laudienne
    Member
    Posted 8 years ago #

    Believe it or not, I DID read the resources and have no idea what I'm doing. This is a support forum - I came here to ask for help because I've never done this before.

    (rant: hate when people give attitude because it's easier than actually addressing the problem. Thanks anyway.)

Topic Closed

This topic has been closed to new replies.

About this Topic