Title: [loop author=&quot;this&quot;]
Last modified: August 22, 2016

---

# [loop author="this"]

 *  Resolved [Jissac](https://wordpress.org/support/users/jissac/)
 * (@jissac)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/loop-authorthis/)
 * [loop author=”this”]…[/loop]
 * Doesn’t work at all for me whereas when I specify the author=”author ID” it works
   fine.
 * Is this feature working yet?
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/loop-authorthis/#post-5860312)
 * I tested this and it’s working on my end. The parameter _author=”this”_ should
   display posts or other post types whose author is the current logged-in user.
 * Hmm, I wonder what is different in your situation. Can you try this before the
   loop:
 *     ```
       [user id]
       ```
   
 * Then, you can see if the user ID is the same as the author ID of the posts you
   need.
 *     ```
       [loop type="post]
         [field title] - [field author-id]
       [/loop]
       ```
   
 *  Thread Starter [Jissac](https://wordpress.org/support/users/jissac/)
 * (@jissac)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/loop-authorthis/#post-5860347)
 * Thank you very much, Eliot!
 * The plugin is great. You are right , but how can I display posts or other post
   types whose author is the current author id of that page but not the logged-in
   user?
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/loop-authorthis/#post-5860368)
 * Aah, I see. OK, I added a parameter in the latest plugin update to simplify this.
 *     ```
       [loop type="post" author="same"]
         [field title]
       [/loop]
       ```
   
 * This will show posts by the same author as current post. If you don’t want the
   current post itself in the loop, you can exclude it:
 *     ```
       [loop type="post" author="same" exclude="this"]
       ```
   
 *  Thread Starter [Jissac](https://wordpress.org/support/users/jissac/)
 * (@jissac)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/loop-authorthis/#post-5860417)
 * You are great!Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[loop author="this"]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jissac](https://wordpress.org/support/users/jissac/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/loop-authorthis/#post-5860417)
 * Status: resolved