How to Display Recent Posts Only with Titles in Thesis Theme Homepage

by Surender on June 1, 2010

in Blog Design,How To,Wordpress

One of my friend wanted to know that how to display post titles in thesis theme homepage like shoutmeme.com where we have displayed recent posts with post titles only .

This is a very simple tutorial that anyone can implement in thesis WordPress theme and take advantage of this feature. The benefit of implementing this tutorial is that it increases the pageview count.

latest story thumb How to Display Recent Posts Only with Titles in Thesis Theme Homepage

Tutorial:

Open your thesis hook plugin setting page under installed plugins tab. Now find your feature box where you have to insert following code.

Even you can add in custom_functions.php as thesis hook in feature box.

<h3><b>LATEST STORIES</b></h3>

                <ul>

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

                    <li><span class="meta"> <?php the_time('F j  - '); ?> </span>

<span class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></span> <span class="meta">- <a href="<?php the_permalink() ?>#commenting" title="Jump to the comments"><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></span><div style='float:right;margin-top:2px;'>
<script type="text/javascript">
tweetmeme_source = 'shoutmeme';tweetmeme_style = 'compact';tweetmeme_service = 'bit.ly';
tweetmeme_url = '<?php echo get_permalink($postid); ?>';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script></div></li>

                    <?php endwhile; ?>

                </ul>

<div style="float:left;font-weight:bold;font-size:12px;">
<a href="/category/featured/" rel="bookmark" title="Read more articles"><i>View more stories »</i></a>
</div>

After inserting the code,update the setting page and see the result.This code is ready to work for you.

You can style the titles according to your own taste of design.

Read More Related Stuff

{ 8 comments… read them below or add one }

KS Chen June 2, 2010 at 7:40 am

Hi Surender! I have just purchased a Thesis theme and applied in my blog recently. It is really a great theme and good for SEO. This tutorial really helps me a lot in customizing the Thesis Theme. I’m new to Thesis. I hope that i can always learn from you. Thanks for sharing! :)

Reply

Arafat Hossain Piyada June 2, 2010 at 10:29 am

I’m willing to buy a Thesis theme soon to start a blog tutorial site, may be this tutorial going to help me.
.-= Arafat Hossain Piyada´s last blog ..Watch Megaupload hosted video without downloading it using Mustreamer =-.

Reply

Xpress Music June 3, 2010 at 8:40 pm

@KS Chen

google in the domain name is prohibited . try to change it before google bans ur site
.-= Xpress Music´s last blog ..Free Voice Guided Navigation on Nokia 5800 Xpress Music =-.

Reply

KS Chen June 7, 2010 at 12:38 pm

@Xpress Music, is it true? This is the first time i heard about this. I have seen many existing sites that contains google in their domain. Is it really will bring problem? I have spent some money on this domain. Thanks for your reminding!

Reply

Gagan June 3, 2010 at 9:58 pm

Brilliant method to create a productive home page. Thanks :)
.-= Gagan´s last blog ..Effect Of Geographical Location Of Web Server On Google SERPS: Google MythBuster Series Part 6 =-.

Reply

Sticker Printing Companies June 4, 2010 at 11:46 am

Awesome. I’ll definitely try this one on my blog. I hope I won’t get confused with the coding ’cause I’m really now good at coding. :) Thanks for sharing this very important post.

Reply

Amy June 6, 2010 at 8:27 am

I’m willing to buy a Thesis theme soon to start a blog tutorial site, may be this tutorial going to help me.
.-= Arafat Hossain Piyada´s last blog ..Watch Megaupload hosted video without downloading it using Mustreamer =-.

Reply

Data Recovery June 24, 2010 at 10:49 am

Thanks for sharing important information I use this tutorial, any you provide us coding also this really helpful to us.

Reply

Leave a Comment

CommentLuv badge

{ 2 trackbacks }




Previous post:

Next post: