'intval', 'default' => 10, ) ); } function ajcps_render_latest_posts_settings() { $posts_per_page = get_option('ajcps_posts_per_page', 10); ?>
Use the shortcode below to display the latest posts from a specific category:
[ajcapos id="POST_ID"]
If your shortcode post has ID 123, use:
[ajcapos id="123"]
AJ Category Posts lets you showcase your posts dynamically on your site. You can use these shortcodes individually or together for a complete post showcase.
Displays the latest post with a featured image overlay including category, title, author, and date.
Use this shortcode:
[latest_post_overlay]
Displays multiple posts in a grid layout with pagination. You can specify the number of posts per page with the posts attribute. The default posts per page (9) can be changed from AJ Category Posts → Latest Posts settings.
Use this shortcode:
[latest_posts_grid posts="9"]
Displays the most read posts based on view count. You can control the number of posts displayed using the posts attribute.
Use this shortcode:
[most_read_posts posts="3"]
These shortcodes allow you to create dynamic post sections anywhere on your site—pages, posts, or widgets. Each shortcode supports category selection, post count, and styling via CSS.
For more detailed instructions, Watch the Video Tutorial, or Contact us.