— Colors and Spices

Archive
Tag "color paper theme featured content"

I just love wordpress codex. :P It has helped me several times. Well that’s what it’s supposed to do anyway, ayt?

  • The Codex ended my agony with changing permissions.
  • Restore back my wordpress posts to my new domain.
  • And now, how to use read more in wordpress. I know it might be silly but I really didn’t know that the button between the Unlink and ToggleSpellchecker on the wordpress admin post page is actually a More Button. I have been using wordpress fo quite some time and I just got to know what it’s all about.

Another way making use of the Read More Button applied in all posts in your wordpress:

Go to your index page(index.php)

Find(Ctrl+F) <?php the_content(”); ?> and replace with <?php the_excerpt(”); ?> and voila!

For those using the Color Paper Theme(like me), you might be having a hard time fixing your layout for the “featured space” because your post is tool long and posts are overlapping. Now it’s either you’d like to have only the featured post on “READ MORE” or you’d like all posts to have the “Read More” feature(so that viewers will have to click the button if they are really interested in your posts & more hits too, I guess).

To configure the layout to be in “Read More” status(meaning with the Read More Button) , change only the  <?php the_content(”); ?>  into <?php the_excerpt(”); ?> on your index.php

<div class=”featured-content”>

<?php query_posts(‘showposts=1′); if (have_posts()) : while (have_posts

()) : the_post(); ?>

<h3><a href=”<?php the_permalink() ?>” rel=”bookmark”

title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?

></a></h3>

<?php the_excerpt(”); ?>

Now if you’d like to make all your posts with the “READ MORE” button without using the Insert More Tag, make the following code change on this part:

<div>

<div><span><?php the_time(‘M’);

?> </span><span><?php the_time(‘d’); ?> </span></div>

<h4><a href=”<?php the_permalink() ?>” rel=”bookmark”

title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?

></a></h4>

<?php the_content(”); ?>

I did some manipulations on the css(deleting the image and featured content itself) but ended up messed-up color paper theme. It took me like 4 hours to make this thing working.  :D

Read More