Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

How do I create a new page template?


  #1  
Old Aug 27, 2009, 02:27 AM
JakeThePeg
 
37 posts · Aug 2009
How do I create a new page template?

This might be a stupid question, but how do you go about creating a new page template while using the Atahualpa theme? I want to create a page that uses a modified version of The Loop, to display posts from only certain categories, but have no idea how to do this, with Atuhualpa!

Your advice is greatly appreciated
  #2  
Old Aug 27, 2009, 08:01 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
make a copy of index.php as whatever.php, at the very top of whatever.php put

<?php
/*
Template Name: My page template
*/
?>

Remove code you don't need, add additional custom code, and upload it to the Atahualpa root directory. Go edit or create a new page and the new page template will be listed as "My page template" in a drop down select menu at the top right
  #3  
Old Aug 31, 2009, 02:26 AM
JakeThePeg
 
37 posts · Aug 2009
Ok, thanks for this....I still can't find a solution for what I'm trying to do. Basically, on one of the pages of my site, I would like to display all posts from a certain category, and it's child categories. How do I do this?
  #4  
Old Sep 2, 2009, 03:06 AM
JakeThePeg
 
37 posts · Aug 2009
Quote:
Originally Posted by JakeThePeg
Ok, thanks for this....I still can't find a solution for what I'm trying to do. Basically, on one of the pages of my site, I would like to display all posts from a certain category, and it's child categories. How do I do this?


Is there anyone out there that might be able to help me with this request...it's holding me back from launching my site
  #5  
Old Sep 5, 2009, 08:18 AM
JakeThePeg
 
37 posts · Aug 2009
Anyone?
  #6  
Old Sep 6, 2009, 12:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Are you looking for a list of the posts, or the posts themself? and are you looking for it on a static page? you could try this: http://forum.bytesforall.com/showthr...light=page2cat
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
page template



Similar Threads
Thread Thread Starter Forum Replies Last Post
Template Page with only widget abovocipher Atahualpa 3 Wordpress theme 2 Aug 23, 2009 09:12 PM
Missing template option on edit page attirbutes ExpandingFile Atahualpa 3 Wordpress theme 3 Aug 9, 2009 05:28 AM
How to create 'no-show' page Alexi Page & Category Menu Bars 9 Jul 1, 2009 06:57 AM
Using Page Template - where to select? Charlotte Excerpts, Read more, Pagination 1 Feb 28, 2009 01:49 PM
New Template Page Axon Atahualpa 3 Wordpress theme 1 Feb 8, 2009 01:34 PM


All times are GMT -6. The time now is 02:31 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.