Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I overcame this problem. I only wanted one category of post to appear on the home page. That is besides the sticky posts that are in the slider.

    I used this code on the index.php page: <?php query_posts(‘cat=9’); ?>

    The category id number for me was 9. Replace the nine with your number.

    Mind you I’m working on a child theme so I can always go back to the original index file if I mess it up. See the code below for placement of this post. I am sure you can add additional categories. I made one category of post for the purpose of showing up on the home page.

    Also I shut off the larger posts that appear first, so my site is all masonry blocks. I did that in the theme options area.

    Placement of the above code:

    <?php if( have_posts() ) : ?>
    <div class=”entries”>
    <?php query_posts(‘cat=9’); ?>
    <?php while( have_posts() ) : the_post(); ?>

    It starts on around line 14.

    Okay, I see. edit page, html view. lol.

    I have a really basic question. Where do I have the option of adding [nggallery id=1] ?
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)