[New post] Using Conditional Tags in WordPress for greater flexibility in design

Posted by | Posted on 08:22

Using Conditional Tags in WordPress for greater flexibility in design

Bogdan Michka | April 22, 2010 at 9:21 am | Tags: codex, conditional tags, howto, wordpress | Categories: design, development, tips-n-tricks, web | URL: http://wp.me/pHbzX-kN

Conditional Tags « WordPress Codex

The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches. For example, you might want to display a snippet of text above the series of posts, but only on the main page of your blog. With the is_home() Conditional Tag, that task is made easy.

Add a comment to this post


Trouble clicking? Copy and paste this URL into your browser: http://subscribe.wordpress.com

Comments (0)

Post a Comment