• Is is possible to create a posting that does not appear on the home page but will appear under category, Article Librry. I want to put a welcome message on the home page only, and then have links to article directory. Is this possible or what might be the best way to accomplish this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Use this code in loop to exclude post from the home page of your blog…

    <?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == '9' ) continue; ?>
          <?php the_content();?>
          <?php endwhile;endif;?>

    This code will exclude the post ID =9. You can change it on your requirement.

    You can create a sticky post which remains on top of the home page and in that post add the link to the library which you want to be linked..

    Thanks,

    Shane G.

    Thread Starter hdectro

    (@hdectro)

    Not real adept with this stuff. Where exactly does this code go, and how to I get there from the dashboard.

    I have another question. On another wordpress account there is no plugin category on the left menu. I was searching for it everywhere. Why would l not see it or where would I go to activate it?

    Thanks

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

The topic ‘Postings to categories only’ is closed to new replies.