8.9 [lcw_post_grid]
Display restricted posts for a logged in user. it's available for free and paid both version.
The LCW Post Grid shortcode allows you to display a customizable grid of restricted posts with filtering options, including post type, taxonomy, terms, and user-based access restrictions. The shortcode also supports setting the number of columns and customizing the "Read More" text.
Shortcode Usage
You can insert the shortcode anywhere in your WordPress content (pages, posts, widgets) using:
Shortcode Attributes
The shortcode supports the following attributes:
post_type
Specify one or more post types (comma-separated)
"post"
post,page,custom_type
taxonomy
The taxonomy name (e.g., category
, custom_taxonomy
)
""
(empty)
category
or product_cat
terms
Comma-separated list of term slugs or IDs to filter posts by taxonomy
""
(empty)
news,updates
columns
Number of columns in the grid (1-5)
3
1
, 2
, 4
, 5
posts_per_page
Number of posts to display
6
8
, 10
, 12
read_more_text
Custom text for the "Read More" button
"Read More"
"Discover More"
Last updated