PhoenixCOZA’s Blog Posted via email from PhoenixCOZA’s Blog
You are currently browsing the archives for the My Thoughts category.
You are currently browsing the archives for the My Thoughts category.
February 3rd, 2011 PhoenixCOZA Posted in My Thoughts No Comments »
PhoenixCOZA’s Blog Posted via email from PhoenixCOZA’s Blog
February 1st, 2011 PhoenixCOZA Posted in My Thoughts No Comments »
At Girl Guides we have tech on the brain, 24/7 and we're all about girls using tech to make life simpler and quicker - because isn't being able to do absolutely anything, from just about anywhere exactly what every girl wants? So we give you the cheat-sheets and show you a techno-centric lifestyle that's easier (much easier) with Girl Guides to show you the ropes.
PhoenixCOZA’s Blog Posted via email from PhoenixCOZA’s Blog
January 31st, 2011 PhoenixCOZA Posted in My Thoughts No Comments »
<?php remove_action('wp_head', 'wp_generator');?>
[tag: hosting, wp, wordpress, security]
PhoenixCOZA’s Blog Posted via email from PhoenixCOZA’s Blog
January 28th, 2011 PhoenixCOZA Posted in My Thoughts No Comments »
Today we are displaying our latest blog post in a WordPress template as only links or with a summary or excerpt.
The length of the excerpt can be defined to fit the size of the allocated area or <div></div> in your template. This is not a widget but coded to your main template page.
<?php query_posts('showposts=5'); ?> <ul> <?php while (have_posts()) : the_post(); ?> <li></li> <?php endwhile;?> </ul>
To add a summary or excerpt to the code above use the following code :
<?php query_posts('showposts=5'); ?> <ul> <?php while (have_posts()) : the_post(); ?> <li></li> <?php the_excerpt() ?> <?php endwhile;?> </ul>
The default length of the except is 50 characters. We will be changing the length of the expert to 30 by adding the code below to the theme’s functions.php, add_filter('excerpt_length', 'my_excerpt_length'); function my_excerpt_length($length) { return 30; }
To add imaegs to your excerpt use the Thumbnail for Excerpts WordPress Plugin. // Changing excerpt more function new_excerpt_more($more) { global $post; return '… ' . 'Read More »' . ''; } add_filter('excerpt_more', 'new_excerpt_more');
Source : WordPress. The code here is lenghty but use it as reference
PhoenixCOZA’s Blog Posted via email from PhoenixCOZA’s Blog