You are currently browsing all posts tagged with tips

Page Of Posts

Posted on January 12, 2012 at 1:21 pm in
blue-page

Our downloadable Twenty Eleven Child theme has now been updated to include a simple Page of Posts custom page template.

Don’t Store Posts in the Trash

Posted on December 9, 2011 at 10:17 pm in
no-trash

Yes, you did read that title correctly. And I did a double-take too when I saw this posted in the wordpress.org support forums. I thought that this kind of thing was an urban myth. But — hand on heart — someone really did decide to store more than a dozen, previously published, posts in their…

Adding Your Own Read More Link

Posted on December 7, 2011 at 1:11 am in
more2

Continuing with the topic of custom read more links, there are times when you may want to use <?php the_content();?> in your theme’s template file in conjunction with the <!–more–> tag in your posts to create custom post teasers. But you want the “read more” link to appear somewhere other than immediately after the teaser.…

Replace [...] with a Post Link

Posted on December 2, 2011 at 4:48 pm in
more...

Excerpts (teasers) can be shown on WordPress through two methods: Using <?php the_content();?> in your theme template file(s) and then inserting the <!– more–> into your post at your desired cut-off point. Using <?php the_excerpt();?&gt; in your theme template file(s) and allowing WordPress to generate a teaser from the first 55 words of the post’s…

Changing Backgrounds with body class()

Posted on October 11, 2011 at 4:56 pm in
crayons

The body_class() WordPress function attaches a list of classes to the <body> element according to what type of page is being displayed. These classes can be used — in conjunction with your theme’s stylesheet — to display different backgrounds on different pages. Let’s assume your header.php template file contains: <body <?php body_class(); ?>> And your…

WordPress Installation and Set Up

Top