Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

static page template - content above the loop


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 4, 2011, 08:36 AM
nano91
 
4 posts · Mar 2011
hello,
i can't find the page template for the atahualpa theme...
i'm trying to create a page with normal static content (editable as every page through the menu)
but add the latest posts after that content.
when I use the built-in fuction 'Content ABOVE the LOOP' it is shown on every page.
also i cannot use the if(is_home()) function because it is not the home page i want to do this change on.
actually there are some pages i want to show static content and then latest posts from a certain category.
  #2  
Old Mar 4, 2011, 08:51 AM
juggledad's Avatar
juggledad
 
21,689 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
well, you can create your page and then in the aboue the loop use 'is_page('42') - assuming 42 is the page ID. See http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page for other conditional tags you can use
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Mar 4, 2011, 09:16 AM
nano91
 
4 posts · Mar 2011
thanks for the reply
and what if i want to use it one different pages?
i would be adding a lot of code into this function.
is there another way? because i prefer using site templates

I would need the template for a static page to add the posts loop

Last edited by nano91; Mar 4, 2011 at 09:49 AM.
  #4  
Old Mar 4, 2011, 10:50 AM
juggledad's Avatar
juggledad
 
21,689 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Sure you can code a page template. Copy index.php and use it as the basis of your template. There are a could template in the Gold Forum - Tutorials section.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Static Content "Above the Loop" on home page dchrist21 Center area post/pages 2 Sep 30, 2010 02:31 PM
static front page, page title on header, remove content but keep sidebar questions Magic Atahualpa 3 Wordpress theme 0 Jan 25, 2010 12:12 AM
Static page will not display content siefert Center area post/pages 9 Jan 22, 2010 10:32 AM
[SOLVED] Posting Static content for my Front Page supergper Atahualpa 3 Wordpress theme 3 Dec 10, 2009 06:37 AM


All times are GMT -6. The time now is 03:37 AM.


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