Video: WordPress 2.7 Sneak Preview
Here is a sneak preview video for you to see upcoming new features and design changes in WordPress 2.7.
Here is a sneak preview video for you to see upcoming new features and design changes in WordPress 2.7.
Did you know that WordPress allows you to cut and slice a long post into different pages? When you want to break a long article into pages, you need to add the following tag to the point where you wish to make a break in your long entry. This way the single entry will get paginated.
Entries which are sliced into several pages have multi-page links that appear at the bottom of your entry and they look like this:
Most of the themes do not have necessary template tag in place, if your pagination links don’t show up at the bottom of your post you will need to edit your template.
Open single.php and page.php with a text editor and look for following line:
<?php the_content('Read the rest of this entry »'); ?>
Replace it with:
<?php the_content('Read the rest of this entry »'); ?> <?php link_pages('<p>Pages: ', '</p>', 'next', ' »', '« '); ?>
I hope you enjoyed this quick tutorial about how to make pagination for single entries in WordPress.
Outside the common use of category tags in WordPress templates, there are very useful functions that can be very powerful and can help you achieve many different things with categories.
You could use the following snippet to get category name by its ID.
<?php $catname = get_cat_name(1); print $catname; // Would print the category name for category ID 1 ?>
If your blog is operated by multiple authors It becomes very important to give some information about your blog authors on the sidebar. You can use a very simple code snippet to display authors with their posts in an unordered list.
I am very thankful for the free contribution and release of True Elegance blogger template by Hajunik. The blogger version has been requested a few times already, and I am glad there is someone did it already and converted it to blogger.
Full credit for the conversion of True Elegance into Blogger is direct to the original author.
Please visit the main story for information and download:
http://www.hajunik.com/2008/10/free-true-elegance-blogger-template.html
Or directly download:
http://sites.google.com/site/hajunik/templates/true-elegance-blogger.zip
Thanks to all readers!
Subscribe via RSS Feed stay updated with blog articles
Subscribe via email address: