![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I use the magazine theme and i love it, but i would like to change some parts to suite my need a little bit more.
I have been trying my self for some days now with error as result. I use the original code for the left part of the theme which is this code: Code:
<div class="featured">
<?php $recent = new WP_Query("cat=3&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<h2><?php the_title(); ?></h2>
<?php the_content(__('Read the story »'));?><div style="clear:both;"></div>
<?php endwhile; ?>
</div>
If you take a look at this image from another site it will display how i would like it to be. [img=http://img44.imageshack.us/img44/5046/whatiwant.th.jpg] First i would like to have a line just as the image that seperates the article from the title. Second i would like to have the date under that line. Also i would like just as in the image the Read More part to be seperated from the article. Also i would like in the end of the article just as in the image to display the category the article comes from, and also the comment count. Is there anyone that know how to achieve this? Thanks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to achieve a double column category view? | dustbaby | General Discussion | 3 | 11-12-2009 11:07 PM |
| Best way to achieve this? | StuUK | General Discussion | 4 | 02-17-2009 07:35 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us