If you want to post certain information for a particular page or post in Wordpress or Thesis, you can use a conditional statement like the one listed below. The statement can be altered to perform whatever content you want and how that content is displayed on a particular page depending on how it matches with the condition you create.
For example, if you want to display something custom on the home page of your blog and something different in your single posts you can use the statement below. Here is more information on conditional tags for customizing WordPress.
function custom_something() {
if (is_page()) { …dothis… }
elseif (is_single()) { …dothis… }
else { …dothis…. }
}












Comments on this entry are closed.