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 »

recommended way of making new "views"


  #1  
Old Apr 13, 2009, 11:29 AM
muychingon
 
17 posts · Apr 2009
Irvine, Orange County
In the past, in "traditional" themes, I've made templates for different views I need. But I love this theme so far and I want to do it the right way...

I want to make the site I'm working on pretty upgrade proof so we're using Atahualpa for it. What is the recommended way for me to configure a special category view. For example,

I need to list FAQs in one convention like this:

faq 1
faq 2
faq 3


faq 1 (anchor link from the faq1 above, not to the article's permalink)
Blah blah blah blah

faq 2
........... blah blah

faq 3
........... blah blah.

Where the first section is a link to a deep anchor to the faq1 body below, but each FAQ is a blog post categorized under FAQ, all under one page.

Do I *have* to copy index.php and make a new template to acomplish this? I'm trying to use php-exec right now to formulate a loop so I can keep it in the database and not worry too much when I am going to upgrade.

I need this for 3 other categories as well, and each will have different view but it really is just pulling blogposts with the logic based on their categories. For example, news, screencasts, regular-blog posts,

Thanks for any help you can give me.
  #2  
Old Apr 14, 2009, 06:23 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can make a copy of index.php as category.php and edit category.php. You'd have to add your category.php to each new version of Atahualpa
  #3  
Old Apr 17, 2009, 05:14 AM
muychingon
 
17 posts · Apr 2009
Irvine, Orange County
Thanks. I ended up using php_exec code to just call specific loops when I needed to, this way I don't have to upgrade files, the info lives in the database. I guess that also has its disadvantages but anyway. thanks for the response.

Bookmarks

Tags
archives, custom loop, custom template, view

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to post on 2 seperate "Pages" or "Cats" TPR Atahualpa 3 Wordpress theme 18 Aug 4, 2010 09:24 PM
where can I rename "categories" and "Pages" into other titling? curious Atahualpa 3 Wordpress theme 5 Apr 28, 2009 04:15 PM
How to style "post icon" and "post comments" text Whatsthatcat? RSS, Feeds & Subscribing 3 Apr 1, 2009 10:41 AM
Flexx theme - How to change my "List Category or Archives" to "List Titles ONLY" ?? idaks01 Post-Kicker, -Byline & -Footer 0 Mar 28, 2009 06:22 PM
modifying font size of "Today's Events" and "Upcoming Events" in sidebar ritland Forum How-To 0 Mar 16, 2009 04:23 PM


All times are GMT -6. The time now is 02:53 AM.


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