have different categories in different part of the page.
-
Hi everyone
Ive been using EE previously and due to some project now im onboard of yours trully wp. However it took me a while to identify the things i need but still im clueless on how to get them. (Ive been going through wps docs as well as searching with the help of the google to get what i think i need. But to tell you frankly, if you dont know the wp-slang and not a php coder – your going to have a bit of a problem.)
To cut the long story short. I understand the templating system and created custom templates (and choosed them on the pages edit sections) for some of the pages.
Now my question is for what you reffer as static front page. I designed a front page with different sections. So the content is rather divided in to different parts of the template. So i need to call specific category entries to specific locations on my template ( Like News category on side bar and category b related content in to the middle part.)
in this page i found some codes and i kinda combined them to look like what i needed. which is
<?php if ( is_indexpage() ) { query_posts( 'cat=3' ); // The Loop while ( have_posts() ) : the_post(); echo '<li>'; the_title(); echo '</li>'; endwhile; // Reset Query wp_reset_query(); } ?>
But alas this code doesnt provide the means.
Im sorry if these questions did came up before. Any type of help is welcome and much appreciated.
God bless.
- The topic ‘have different categories in different part of the page.’ is closed to new replies.