Forums

Change the view of index (6 posts)

  1. Mr.Hak
    Member
    Posted 10 months ago #

    I want to change the presentation of posts in the index.php
    I want to viwe post one cat in the index.php

    This code in the index.php

    <?php if (have_posts()) : ?>    <?php while (have_posts()) : the_post(); ?>

    I want to edit the Code Plz

  2. MichaelH
    moderator
    Posted 10 months ago #

    The Loop article talks about excluding categories so you can use that logic to just use one category in your loop.

    Might also think about a plugin such as http://wordpress.org/extend/plugins/advanced-category-excluder/

  3. Mr.Hak
    Member
    Posted 10 months ago #

    thanks the advansed category

    i need anther request

    LAST 10 Topics in the x category

    EX: http://www.bbc.co.uk/

    The Lest FOOTBALL and UK

    Plz Help

  4. MichaelH
    moderator
    Posted 10 months ago #

  5. Mr.Hak
    Member
    Posted 10 months ago #

    the Plugin advanced-category-excluder Very good and the goods

    anther request

    I Need LAST 10 Topics in the x category in Index.php THe Blocks

    Is Plugin

  6. MichaelH
    moderator
    Posted 10 months ago #

    Look at the article The Loop and query_posts().

Reply

You must log in to post.

About this Topic