• hello.

    How dont show +18 posts in index. Only way to see that post is on category archive… is this posible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not quite sure what you’re asking. But you can set how many posts show on each page though SETTINGS > READING and enter the number of posts you would like to show at Blog pages show at most
    If it’s a customized home page you want then check out Static Front Page with Dynamic Content tutorial.
    Good luck.

    You can exclude categories from the index, even archives and search results if you like. There are several category excluder plugins in the extend/plugins section. You can also do this with a simple code in the index.php in your example:
    <?php if (in_category('20')) continue; ?>
    (where 20 is the ID of the category to exclude)
    This goes just below “the loop”:
    <?php while (have_posts()) : the_post(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dont show single post in index’ is closed to new replies.