• hi, i am junior php programmer, currently im learning wordpress for my future projects, i got through all the gobbledygooks and stuff, but i can’t figure out if there are any more templates i may add(aside from the typical templates(archive.php,page.php..etc..) and how can i point the contents to these templates that I’ll be adding if i may..

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter includeramon

    (@includeramon)

    thank you so much for that, i have read that section but i was not able to absorb it well cuz i dnt have much time for reading. . anyway, is there a template tag where i can display the list of sub pages only . . because my main pages(no parent) have different links for different sub-pages, i was thinking that i cud display this sub pages as archives instead, but i cant figure out how to configure an archive page for a certain template, well i can though..but not enough for deeper configuration and there’s onli 1 archive page template you can add..thnx for the assistance and thanx in advance..

    To display the list of sub pages only you can use wp_list_pages and child_of parameter.

    Thread Starter includeramon

    (@includeramon)

    thank you so much. ,by the way, i created a sample template for testing. i used it as template to 1 of the pages i created, i was not using any templates for the other pages, it automatically used the only template i used for the only page i applied the template with. is that right?

    Thread Starter includeramon

    (@includeramon)

    thank you so much

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘templates’ is closed to new replies.