In this tutorial we’re going to build a WordPress shortcode that will allow us to only show the posts of the logged in user. This is useful if you have a website which allows authors to post their own content and you need a page to display all the posts for that author. The reason why we’re using a shortcode for this is so that we can keep the styling consistent with the other pages.
Read Full Tutorial