[lcw_post_grid]
📚 Shortcode: [lcw_post_grid]
Description
The [lcw_post_grid] shortcode lets you display a customizable grid of restricted posts for your logged-in users.
It works with both the free and paid versions of LC Wizard. You can filter posts by type, taxonomy, terms, and user access, and even control the grid layout and “Read More” text.
🧩 How to Use
Simply paste the shortcode anywhere in your WordPress content — pages, posts, or widgets — like this:
[lcw_post_grid post_type="post" taxonomy="category" terms="news,updates" columns="3" posts_per_page="99" read_more_text="Read More"]
⚙️ Shortcode Attributes
| Attribute | Description | Default | Example | 
|---|---|---|---|
post_type | 
Choose which post types to display (comma-separated) | post | post,page,custom_type | 
taxonomy | 
Filter posts by taxonomy | category, product_cat | |
terms | 
Comma-separated list of term slugs or IDs to filter posts | news,updates | |
post__in | 
Display only these post IDs | 1,2,3,4 | |
post__not_in | 
Exclude these post IDs | 1,2,3,4 | |
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 | 
💡 Tips
- Use this shortcode to create a dynamic post grid filtered for logged-in users.
 - Perfect for membership sites or showing specific posts to certain user groups.
 - Customize columns and “Read More” text to match your theme design.
 
