WordPress.org

Support

Support » How-To and Troubleshooting » Dynamic content to static page

Dynamic content to static page

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can use pages to display dynamic content by creating the template with dynamic content.

    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)

    Ok, i think i’ve got the concept…

    Thank you very much

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dynamic content to static page’ is closed to new replies.
Skip to toolbar