Dynamic content to static page (6 posts)

  1. iamarock
    Posted 10 years ago #

    Hello, this is my first post in this community, first of all, sorry for my english, I'm from Spain..

    I have WordPress 1.5 installed locally in my computer, i'm doing my own template and testing the system prior to change the whole content of my weblog..

    I'm trying to use one of the "Static Pages" That WordPress provides to make an index of all the post published in the site, sorted by categories, to give my visitors a whole view of all the content of the site, but i can't find information about how to do that.

    Do You know how to do that? it's posible?

    Thank you very much.

  2. 87rounds
    Posted 10 years ago #

    You can use pages to display dynamic content by creating the template with dynamic content.

  3. coolger
    Posted 10 years ago #

    Sure, WP can deal with that.

    Write a new 'Page', can choose the option: 'Page Template:' as 'Archives', close the comments and pingback, give a slug for your page. You don't need to write anything, just publish.

    To define the detail of the archives list, create a php file named after archive.php under your theme's dir. (many themes prepared it for you)

  4. iamarock
    Posted 10 years ago #

    Ok, i think i've got the concept...

    Thank you very much

  5. iamarock
    Posted 10 years ago #

    Hello again..

    I've already made an Indice.php page linked from my sidebar where i want to put links to all the post in the page sorted by the categories i already have, something like this:

    Page Content:

    -Nirvana - Nevermind
    -Wilco - A Ghost is born

    I've tried a few tags from the codex but i can have yet this result, the tags in my page is:

    <?php wp_get_archives('type=postbypost'); ?>

    that gives me an unsorted list of all the post.

    Can I have that kind of order list?

    Thank you very much

  6. moshu
    Posted 10 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.