WordPress.org

Forums

Dynamic content to static page (6 posts)

  1. iamarock
    Member
    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
    Member
    Posted 10 years ago #

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

  3. coolger
    Member
    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
    Member
    Posted 10 years ago #

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

    Thank you very much

  5. iamarock
    Member
    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:

    -Records:
    -Nirvana - Nevermind
    -Wilco - A Ghost is born
    -etc....
    -Books:
    -etc.....
    -Movies:
    -etc......

    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
    Member
    Posted 10 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.