Mstoic Theme focuses on making bloggers life easy. To add related links in the post content, we made a little shortcode that automatically prints posts from the category you choose. You can even choose the number of posts you want to display, and how the posts are fetched, at random or by the post publish date.
Benefit’s of Using Mstoic’s Posts From Category Shortcode
- You don’t have to hardcode links one by one, you can do all of that with some mouse click.
- If a post is deleted your website will lead to 404 errors. This doesn’t happen with our shortcode, it takes only those posts that are available in the database.
- You can choose to display the latest posts, you don’t have to manually edit the posts.
Below is the output of the Posts From Category shortcode, displaying posts from Shortcode category.
[categoryposts category=”Shortcode” numposts=”10″ orderby=”rand”/]