StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Customize Home Page left column blog excerpts? (http://www.studiopress.com/support/showthread.php?t=18055)

pattyayers 12-07-2009 04:37 PM

Customize Home Page left column blog excerpts?
 
Hello People,

On the Home Page (in the Allure theme), in the left column, there are short blog post excerpts. (I'm *not* using the Feature Box plugin.)

I would like to do two things:

(1) display the date of each post, probably just beneath the post title, and
(2) at the end of the excerpt, I'd like to display the words "READ MORE", and have them link to the full blog post page.

I'm fine with editing code - I tried and wasn't able to figure out how to do either of these things. I did search the forum too. Thanks very much in advance for any help! :-)

P@tty

SoZo 12-07-2009 04:53 PM

Please include your URL in all topics

pattyayers 12-07-2009 05:02 PM

Quote:

Originally Posted by SoZo (Post 90475)
Please include your URL in all topics

Ok - it's just a very rough draft under development at this point:

http://72.18.138.147/~mojomom/

Patty

SoZo 12-07-2009 05:12 PM

I'm not critiquing your site. If it wasn't under development you probably wouldn't be here :grin:

1. Add this just below the title tag: <?php the_time('F j, Y'); ?>

2. Open home.php and find this <?php the_content_limit(120, ""); ?> and place the text you want after the post in the quotes so you end up with this <?php the_content_limit(120, "Read More"); ?>

pattyayers 12-07-2009 05:47 PM

Quote:

Originally Posted by SoZo (Post 90485)

1. Add this just below the title tag: <?php the_time('F j, Y'); ?>

2. Open home.php and find this <?php the_content_limit(120, ""); ?> and place the text you want after the post in the quotes so you end up with this <?php the_content_limit(120, "Read More"); ?>

Awesome! Both work perfectly! Thanks very much, "SoZo"!

Patty


All times are GMT -5. The time now is 05:58 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.