• hello everybody.

    i try to create a magazine with a bunch of writers.

    what i did is made every writer a “category” and in each writer category i will present the post which they write.

    so here are the problem i came in front:

    1.lets say every week(just an exmple) we want to make a new post for everybody.
    i want to know if there is a plugin or a possibility to make that the last post i put in a category will show itself big and full while the other which are from before will be small as regular?(like the defualt i mean)

    2.i know that wordpress works on templates. can i make the front page to be without all the things around? i mean without the sidemenus and everything? just like a regular site….

    thanks for your help….. waiting for reply ??

    ronen.

Viewing 1 replies (of 1 total)
  • 1. Yes – it’s possible uing something like:

    <?php
    $c = 0;
    $style='';
    ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php $c++;
    if( ( is_home() || is_front_page() ) && !is_paged() && $c == 1 ) $style='first';
    ?>
    <div <?php post_class($style);?> id="post-<?php the_ID();?>">
    [ rest of Loop ]

    in the appropriate template file. You can then style the first post using CSS.

    2. Perhaps you need to look at Creating_a_Static_Front_Page?

Viewing 1 replies (of 1 total)
  • The topic ‘need help for my blog’ is closed to new replies.