Description
Easy Content Lists is a WordPress plugin that offers a set of shortcodes for efficiently listing pages, posts, taxonomies, and tags on your WordPress site. It provides users with an easy way to display content hierarchically and stylishly, offering various filtering and styling options.
Usage
Use the following shortcodes to display lists on your WordPress site:
[razorfrog_pages_list]– For listing pages.[razorfrog_posts_list]– For listing posts.[razorfrog_taxonomy_list]– For listing taxonomy terms.[razorfrog_tags_list]– For displaying tags in a cloud format.
Installation
- Upload the plugin files to the
/wp-content/plugins/easy-content-listsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
FAQ
What parameters does `[razorfrog_pages_list]` accept?
orderby: Order by ‘title’, ‘date’, etc. (default: ‘title’)order: ‘ASC’ or ‘DESC’ (default: ‘ASC’)exclude: Exclude specific page IDs (default: ”)child_of: Display child pages of a specific page ID (default: 0)col: Column number for styling (default: 1)error_message: Message shown when there are no pages (default: ‘ERROR: Can\’t find pages.’, shown only to logged-in editors; a custom message shows to everyone; empty shows nothing)
What parameters does `[razorfrog_posts_list]` accept?
post_type: Specify the post type (default: ‘post’)orderby: Order by ‘title’, ‘date’, etc. (default: ‘date’)order: ‘ASC’ or ‘DESC’ (default: ‘DESC’)exclude: Exclude specific post IDs (default: ”)posts_per_page: Number of posts to display (default: 100)col: Column number for styling (default: 1)taxonomy: Specify taxonomy to filter (default: ”)terms: Specific terms to include/exclude (default: ”)meta_key: Meta key for filtering (default: ”)meta_value: Meta value for filtering (default: ”)error_message: Message shown when there are no posts (default: ‘ERROR: Can\’t find posts.’, shown only to logged-in editors; a custom message shows to everyone; empty shows nothing)
What parameters does `[razorfrog_taxonomy_list]` accept?
taxonomy: Specify the taxonomy (default: ‘category’)orderby: Order by ‘title’, ‘count’, etc. (default: ‘title’)order: ‘ASC’ or ‘DESC’ (default: ‘ASC’)col: Column number for styling (default: 1)count: Show term count (default: ‘true’)error_message: Message shown when there are no terms (default: ‘ERROR: Can\’t find taxonomy.’, shown only to logged-in editors; a custom message shows to everyone; empty shows nothing)
What parameters does `[razorfrog_tags_list]` accept?
query_type: ‘include’ or ‘exclude’ specific tags (default: ‘exclude’)tags_ids: IDs of tags to include or exclude (default: ”)max_count: Max number of tags to display (default: 100)size_from: Minimum font size for tags (default: 16)size_to: Maximum font size for tags (default: 36)error_message: Message shown when there are no tags (default: ‘ERROR: Can\’t find tags.’, shown only to logged-in editors; a custom message shows to everyone; empty shows nothing)
Changelog
1.0.6
- Security: the post type in a posts list is now escaped in the list’s CSS class
- The stylesheet is now versioned by its modified time, so style changes are no longer cached for a year
1.0.5
- A list with nothing to show no longer shows visitors an error. The built-in message (“ERROR: Can’t find posts.”) now appears only to people who can edit the site; a custom
error_messagestill shows to everyone, anderror_message=""shows nothing
1.0.4
- Accessibility fix: child pages and child terms are now nested inside their parent’s list item, so the list HTML is valid and screen readers present subpages as part of their parent (WCAG 1.3.1)
1.0.3
- Security updates
- WP Core 6.9 compatibility update
1.0.2
- Excluded password protected pages and posts
- Updated for WP Core compatibility
1.0.1
- Added conditions to check if shortcodes already exist to avoid conflicts.
- Improved data sanitization and escaping.
1.0.0
- Initial release.
