Cum fac in wordpress ?
Moderators: Moderatori ajutatori, Moderatori
- Cristy31
- Membru, skill +2
- Posts: 632
- Joined: 29 Jul 2011, 21:50
- Detinator Steam: Nu
- Has thanked: 30 times
- Been thanked: 19 times
Salut, cum fac in wordpress ca stirile ce le postez sa apara ca pe stirileprotv.ro ( sper ca nu e reclama, stie toata lumea de acest site) ? adica ultima stire adaugata sa apara mare cu poza + 2 prop + link catre pagina stirii , si celalate cate 2 intr-un rand cu imagine mica + 1 prop 2 + link catre pagina ei (uitativa la ei pe site sa intelegeti) , este cumva un plugin pentru asa ceva ? dau 1 dolar pp pentru cine ma ajuta si merge.
-
- Fost administrator
- Posts: 13712
- Joined: 09 Oct 2010, 12:39
- Detinator Steam: Da
- CS Status: In grajd!
- SteamID: kalulord
- Reputatie: Fost Administrator
Fost membru Club eXtreamCS (6 luni)
Nume anterior: Terra - Location: Romania, Ploiesti
- Has thanked: 328 times
- Been thanked: 646 times
- Contact:
Code: Select all
<?php if (have_posts()) : ?>
<?php $count = 0; ?>
<?php while (have_posts()) : the_post(); ?>
<?php $count++; ?>
<?php if ($count <= 1) : ?>
<h3><a class="permalink" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></a></h3> <div style=”margin-top:-2px;”><small><?php the_time('m.d.y'); ?> <b>|</b>
<?php the_category(', ') ?> | <?php comments_number('Comment?', '1 Comment', '% Comments' ) ?> </small></div><br/>
<?php the_content(); ?>
<b style="size:2em;border-bottom: 1px solid black;">Previous Entries</b>
<?php else : ?>
<h5><a class="permalink" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></a></h5>
<?php endif; ?>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>