Question about the wordpress “loop”
-
Hi,
I′m building my blog and I have on mind a particular structure that i have never seen before. I want to have in my homepage a fixed part, like an “about” and then, bellow, the posts (or news, like called)
What i could do, is to display this about page at the top of my blog. For doing this I′ve wrote a page (id #4) and i add this linke to the index.php
<?php if (is_home()) { query_posts(“page_id=4”); } ?>
before the <?php if (have_posts() …
the problem is that i want the posts below this fixed part, but i can′t make it.
does anybody know how to do this ?
if you want to see what i`ve done till now> https://www.wikichaves.com/blog (in spanish)or here a google traslated
you can see the posts titles only in the right bar (i want them below also)
thanks
Francisco
- The topic ‘Question about the wordpress “loop”’ is closed to new replies.