author=”current_post_author”
-
Hi,
Wonderfull plugin!
I am wondering if it would be possible to add a author=”current_post_author” argument that is different from the existing author=”current” argument.
For example in a post, I have added the following shortcode in a sidebar widget ->
[display-posts post_type=”job_listing” posts_per_page=”5″]If I add author=”current”
“current” -> displays the posts of the logged in user
If I add author_id=”2″
“2” -> displays the posts of the user_id #2But I can’t figure out how to display additional posts from the post’s author.
Post ABC added par Alex (author_id=”321″).
In post ABC, I would like to display:
– Post added by Alex – OK
– A list of 5 other posts added by Alex – NOT OK, I am stuckHere a screenshot = https://singapore-lah.com/Capture.PNG
Thank you so much if you could point me in the right direction!
The page I need help with: [log in to see the link]
- The topic ‘author=”current_post_author”’ is closed to new replies.