Add blog posts from one author to a page
-
I want to show all blog posts from one author at the bottom of a page, before the footer.
The blog I need help with is: (visible only to logged in users)
-
You can use the display posts shortcode:
https://en.support.wordpress.com/display-posts-shortcode/This shortcode allows for a variety of arguments, one of which is author. You can display a list of posts, or titles and excerpts, etc.
If your theme has widgets at the bottom of the page, you can use a text widget with your shortcode.above the footer. And you can set your widget visibility to choose which page(s) to display your widget on.
Let us know if this does not provide what you need.
-
Oops meant to give the example of the posts by author shortcode:
Specify the post author
Default: empty
Example: ‘[display-posts author="bill"]`This can also be used wherever you want it on the page – no widget required.
- The topic ‘Add blog posts from one author to a page’ is closed to new replies.