Hide the footer on a static page while show them on posts
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) |
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
|
All times are GMT -6. The time now is 09:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.