Sunday, August 29, 2010

Custom post types with custom taxonomies

April 19, 2010 by admin · Leave a Comment 

Creating a custom post type associated with custom taxonomies. For those who don’t know, a taxonomy is a term (such as category, tag or anything else) related to posts. For more information about taxonomies, you should have a look at WordPress Codex.

How to create a custom post type in Wordpress 3.0

April 19, 2010 by admin · Leave a Comment 

Wordpress 2.9 currently have two types of articles: post and pages.
WordPress 3.0 comes with an important novelty: types of articles.
What is so special ?

Add multiple authors to an article

February 10, 2010 by admin · Leave a Comment 

If you have a blog where articles are posted with multiple authors these two plugins can help you more.
These two plugins can help a lot to do this: Co-Author and Co-Author Plus.

add an expiration date to your article

February 8, 2010 by admin · Leave a Comment 

This hack is very useful when you have a contest on the site. You can put a timeout for an article.
All you have to do is to modify the index.php and change the following code:

<br><br>&lt;?php<br>if (have_posts()) :<br>while (have_posts()) : the_post(); ?&gt;<br>$expirationtime = get_post_custom_values(‘expiration’);<br>if (is_array($expirationtime)) {<br>$expirestring = implode($expirationtime);<br>}<br><br>$secondsbetween = strtotime($expirestring)-time();<br>if ( $secondsbetween &gt; 0 ) {<br>// For [...]

Custom css for article

February 3, 2010 by admin · Leave a Comment 

Each article is a challenge and can bring new ways  for you to show information.
So if you need to present different articles with different CSS then you can do the following work:
Add to header.php file the next code:

Show last edit time into Wordpress

January 28, 2010 by admin · Leave a Comment 

If you would like to show when the article was last edited you need to put the following code to the theme that you use.

Wordpress – external link to an article

January 26, 2010 by admin · Leave a Comment 

Ever wanted to put the link to your article title to another site? If so .. you have c0med to the right place.
All you have to do is add the following code to functions.php:

SEO Powered by Platinum SEO from Techblissonline