TXP Tips in the TXP tags category:

Edit the category tag output

How to strip the comma from the category links if there is only one category assigned to the article, or display something else.

Show the last modified date

Display the last modified date for an article, or for your site.

Hide or comment out content

For those times when you need to hide some text or leave a comment in your code.

Using txp:variable to improve your comment header

Using txp:variable to improve your comment header.

Choosing a form dynamically

Adding a dynamic attribute to a tag in order to display content based on the attribute.

Vary the formatting for the first page of an article list

How to vary the formatting for the first page of your article list results from the other pages.

If article image

How to overcome the lack of an if_article_image tag to display your article image markup.

Customising the next prev links

How to customise your next/prev links for your individual articles.

New container tags

How to use the new container tags in your projects.

Display categories that contain articles

A simple way of displaying categories that contain at least one article.

List articles by most recent comments

How to display a list of articles sorted by the most recent comments.

Who posted the latest comment

How to display the name of the person who posted the latest comment for an article.

Use of new tag if_variable to replace chh_if_data

Replace the chh_if_data plugin with new native Textpattern functionality – the if_variable tag.

Display content based on URL variable

Display a Flickr set – or other custom content – based on a variable from a URL.

Custom content if data exists

A simple example of how to display content based on the results of a conditional statement using the chh_if_data plugin.