I notice on the css-tricks front page on a post it says ‘Read Article / Comment »’ and it goes to a div of more but it only shows when there is more content. how do you do that?
the front page is stealing an excerpt from the loop, so basically, there is a page made for the full post, but on the home page he is stealing the excerpt.
on a page you want the excerpt it needds to be a php page and have this at the top:
then somewhere on that page you want to show the excerpt, then place this in your page:
< ?php the_excerpt(); ?>
< ?php endwhile; ?>
Thanks :D :D
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed