Skip to main content

Current user posts

Overview

Use the Current user posts feature to limit loop results to content created by the logged-in WordPress user. This control is useful for:

  • Author dashboards displaying a writer’s own published and draft posts.
  • Member portals where each member sees their personal submissions or listings.
  • Customer or vendor views where WooCommerce orders, products, or reviews are filtered by the current user’s author ID.

Enable the current user posts option in the Loop settings

When enabled, the Loop Element automatically matches the logged-in user’s ID to the post author, preventing other users’ content from appearing in the loop.

Where to find it

  1. In the Divi 5 Builder, select the parent container with the Loop enabled.
  2. Expand the Loop accordion under the Content tab.
  3. Scroll to the Query Filters section and locate Current User’s Posts.
  4. Toggle the setting to enable filtering by the logged-in author.

Example configuration

You can combine the Current user posts filter with other Loop Extender controls:

  • Pair with Post Status filtering (Published, Draft) to show all posts created by the current user, separated by status.
  • Combine with ACF field matching or Date filters to limit results to recent submissions.
  • Use within a WooCommerce Orders or Products loop to restrict display to items associated with the logged-in customer.

Example: Author dashboard

  • Add two Loop Elements in a two-column layout.
  • In the first loop, set Post Status to Published.
  • In the second, set Post Status to Draft.
  • Enable Filter by Author in both.
  • Display titles and statuses in each card layout for an intuitive dashboard.

Tips

  • Ensure users are logged in; otherwise, the loop will return no results.
  • If a visitor is not authenticated, pair this feature with a login module or conditional visibility logic.