Tag Archives: codex

wp_loginout

Display the Log In/Out link.Displays a link, which allows users to navigate to the Log In page to log in or log out depending on whether they are currently logged in.

3881

Continue reading

wp_list_comments

List commentsUsed in the comments.php template to list comments for a particular post

3859

Continue reading

wp_list_categories

Display or retrieve the HTML list of categories.The list of arguments is below: ‘show_option_all’ (string) – Text to display for showing all categories. ‘orderby’ (string) default is ‘ID’ – What column to use for ordering the categories. ‘order’ (string) default is ‘ASC’ – What direction to order categories. ‘show_last_update’ (bool|int) default is 0 – See walk_category_dropdown_tree() ‘show_count’ (bool|int) default is 0 – Whether to show how many posts are in the category. ‘hide_empty’ (bool|int) default is 1 – Whether to hide categories that don’t have any posts attached to them. ‘use_desc_for_title’ (bool|int) default is 1 – Whether to use the description instead of the category title. ‘feed’ – See get_categories(). ‘feed_type’ – See get_categories(). ‘feed_image’ – See get_categories(). ‘child_of’ (int) default is 0 – See get_categories(). ‘exclude’ (string) – See get_categories(). ‘exclude_tree’ (string) – See get_categories(). ‘echo’ (bool|int) default is 1 – Whether to display or retrieve content. ‘current_category’ (int) – See get_categories(). ‘hierarchical’ (bool) – See get_categories(). ‘title_li’ (string) – See get_categories(). ‘depth’ (int) – The max depth.

3855

Continue reading

wp_list_bookmarks

Retrieve or echo all of the bookmarks.List of default arguments are as follows: ‘orderby’ – Default is ‘name’ (string). How to order the links by. String is based off of the bookmark scheme. ‘order’ – Default is ‘ASC’ (string). Either ‘ASC’ or ‘DESC’. Orders in either ascending or descending order. ‘limit’ – Default is -1 (integer) or show all. The amount of bookmarks to display. ‘category’ – Default is empty string (string). Include the links in what category ID(s). ‘category_name’ – Default is empty string (string). Get links by category name. ‘hide_invisible’ – Default is 1 (integer). Whether to show (default) or hide links marked as ‘invisible’. ‘show_updated’ – Default is 0 (integer). Will show the time of when the bookmark was last updated. ‘echo’ – Default is 1 (integer). Whether to echo (default) or return the formatted bookmarks. ‘categorize’ – Default is 1 (integer). Whether to show links listed by category (default) or show links in one column. ‘show_description’ – Default is 0 (integer). Whether to show the description of the bookmark.

3853

Continue reading