Tag Archives: codex

wp_get_archives

Display archive links based on type and format.The ‘type’ argument offers a few choices and by default will display monthly archive links. The other options for values are ‘daily’, ‘weekly’, ‘monthly’, ‘yearly’, ‘postbypost’ or ‘alpha’. Both ‘postbypost’ and ‘alpha’ display the same archive link list, the difference between the two is that ‘alpha’ will order by post title and ‘postbypost’ will order by post date.

3677

Continue reading

wp_generate_tag_cloud

Generates a tag cloud (heatmap) from provided data.The text size is set by the ‘smallest’ and ‘largest’ arguments, which will use the ‘unit’ argument value for the CSS text size unit. The ‘format’ argument can be ‘flat’ (default), ‘list’, or ‘array’. The flat value for the ‘format’ argument will separate tags with spaces. The list value for the ‘format’ argument will format the tags in a UL HTML list. The array value for the ‘format’ argument will return in PHP array type format.

3673

Continue reading

wp_filter_post_kses

Sanitize content for allowed HTML tags for post content.Post content refers to the page contents of the ‘post’ type and not $_POST data from forms.

3661

Continue reading