I created a Real Estate web site that works well. However, I have one last thing to do. I need “Sale Pending” and “Sold” to display on property listings that are either in escrow or have been sold.
What would be great is if I could set up “Sale Pending” and “Sold” categories and any post assigned to either category will output the HTML within the post.
I believe that I need to insert conditional code into my single.php file in order to make this work. Not sure. Anyone know how?
- The topic ‘How do I output HTML for certain category posts?’ is closed to new replies.