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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

Hide the footer on a static page while show them on posts


  #1  
Old Nov 2, 2009, 04:37 AM
olivier2010
 
1 posts · Nov 2009
Hi,

I have created a static page with a static text at the beginning of this static page.
Under this static text, I want to show posts of a specific category

So I want something like that :

Static post (without any header, byline and footer)
Post1 (with any header, byline and footer)
Post2 (with any header, byline and footer)
...


According to Atahulapa options, I have in the "Edit post/page info items" :
FOOTER homepage = blank
FOOTER multipage : %date('D d M Y')% | %tags-linked('Tags: ', ', ', ' | ')% Categorie: %categories-linked(', ')% %edit(' | ', 'Editer cet article', '')%
FOOTER Single post page = blank

In my page I have the following : a static text, and then a piece of php code the show posts of cat id 10 =>
"bla bla bla .....
<div id="content">
<?php query_posts('cat=10'); ?>
</div>
"


MY PROBLEM, is that the text "bla bla bla ....." is then interpreted as a post and then I have a footer like posts of my category 10 !

What I have to do to not consider "bla bla bla ....." as a post and to not show this static text as a post with its post structure

Thanks for help
(I use atahualpa 3.4.4 with wordpress 2.8.4)
  #2  
Old Nov 2, 2009, 06:41 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try using the 'category page' plugin (page2cat) andthere is a hack I put in the forum to get it to display the content of the post in the categories (search for page2cat) and get rid of the wp_query
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
static text not as a post

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hide posts footer on homepage dextor Post-Kicker, -Byline & -Footer 5 Oct 19, 2009 10:34 AM
[SOLVED] How to show 1 specific header image on a static page and on Cat. pages Sakshin Header configuration & styling 24 Oct 3, 2009 04:36 PM
only on one of my static Pages: how do make the page title NOT show up? petevannuys Atahualpa 3 Wordpress theme 11 Aug 24, 2009 10:56 AM
Show sidebar on only one static page Loretta Sidebars & Widgets 0 Jul 23, 2009 03:46 PM
[SOLVED] How to show single post special category on static home page?? Shepherd Jim Post-Kicker, -Byline & -Footer 5 Mar 19, 2009 07:42 AM


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


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