Support » Plugins » How to make an archive page with 2.7

Viewing 15 replies - 1 through 15 (of 29 total)
  • I now use a plugin to do this (SRG Clean Archives) but it’s kind of slow. If anyone has any other solution, that would be nice.

    Thanks

    Normally it’s just a matter of creating a new page template, (you can use index.php as a working example) write you page – call it archives or whatever and assign the new page template to it. In the page template itself you can insert whatever code you want.

    What theme are you using?

    and assign the new page template to it

    How do you do that?

    *cough* nevermind :o|

    Thanks LenK. I will try this if the plugin gets too slow…

    BTW, is it possible to do the same with my blogroll list and will people on it still receive a trackback when I write something new if they are not on my sidebar anymore but on a page?

    Also, I wonder how you do link to the page you created… I mean: do you manually add the link in the sidebar and the menu?

    Thanks

    is it possible to do the same with my blogroll list and will people on it still receive a trackback when I write something new

    Yes and yes. I have created various page templates for the theme I’m using including 3 different blogrolls.

    You should understand the difference between trackbacks and pingbacks though.

    Trackback: You’ve just read something on another blog that inspired you to write your own post about. You write the post and manually send a trackback to the blog where you read the post that inspired you.

    Pingback: You’ve just read something on another blog that inspired you to write your own post about. You write the post and link to the blog where you read the post that inspired you. WordPress will automatically send a pingback to that blog.

    Both methods use different protocols.

    Also, I wonder how you do link to the page you created… I mean: do you manually add the link in the sidebar and the menu?

    You can add it manually if you want to but if you’re using the wp_list_pages() tag the page will be printed out along with any others.

    I am still confused…

    I did this:

    1) I created a page using a template I already have;
    2) I called it “bloglist.php” and saved it in my theme folder;
    3) I added <?php wp_list_bookmarks(); ?> in the code to show the links;

    but then… I don’t know how to get the page showing http://example.com/bloglist instead of the http://example.com/wordpress/wp-content/theme/xxx/

    BTW, I think it is possible to show the links by the priority considering last time they were updated and to add some extract. I’d really like to do this.

    Thanks… and thanks for the explanation for trackback/pingback. But… do people really manually enter trackback anymore?

    Okay, you have created a new page template called bloglist.php and inserted the pertinent code. Good. Next, write a new page (not post) using the write page window. Call it whatever you want ie: Blog List, Links whatever but leave the content blank. Assign the new page template to it.

    With trackbacks, I never use ’em. I just link to sites where I picked something up. (pingbacks)

    I just now got this figured out and working. I have a question though: what’s the difference between doing this and simply writing a page containing the tags/content you want?

    PHP doesn’t normally play well in posts or pages. Page templates have the advantage that if you want to include some sort of PHP you can do so then assign the new template to your page.

    For example, I created a page template for displaying a random post from a particular category. That wouldn’t work any other way.

    @lenk: I still don’t see how I could use that template. From the post page on WP2.7 I see there is a hierarchy of pages, and there is that scrolling menu in which there is no bloglist but there are other pages. I thought this may have been a cache problem so I closed and reopened Firefox, but it didn’t change a thing.

    If I can’t get this working, would having a “secret” blogslist using the links from the admin menu with 100 links and a “non-secret” bloglist showing manually in the page be a solution? I mean: will the 100 links still receive a pingback when I will write something new even if they are not displayed?

    Thanks

    If you’re creating a new page template make sure you follow the instructions in the Codex –> Creating Your Own Page Templates

    If you have created a page template called bloglist.php make sure this is at the top …

    <?php
    /*
    Template Name: bloglist
    */
    ?>

    It will then appear as an option to select from available page templates.

    I did this and added the code, but so far it is not in the post page option in the admin menu. I will try later tonight or tomorrow, and will get back to you if it isn’t working then.

    BTW, you didn’t answered my other question (but hey, it’s your right, cause I have a hell lot of questions! :P) about the bloglist and the pingbacks that get to them each time I write an article… Will they receive the pingback in their admin menu even if I don’t show the bloglist?

    Thanks again. You are great help

    Will they receive the pingback in their admin menu even if I don’t show the bloglist?

    Yes they will. By the way what theme are you using? I love tinkering with my local installs.

    Thanks. I use a very modified bobv2 theme.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘How to make an archive page with 2.7’ is closed to new replies.