---
title: "How to Display Posts Using an AJAX Filter in Team Member Listing?"
url: https://theplusaddons.com/docs/display-posts-using-an-ajax-filter-in-team-member-listing/
date: 2025-07-01
modified: 2026-09-27
lang: en
author: "Aditya Sharma"
description: "Do you want to display posts from a specific category using the Team Member Listing widget in Elementor? With AJAX filters from The Plus Addons for Elementor, you can easily..."
word_count: 557
---

# How to Display Posts Using an AJAX Filter in Team Member Listing?

## 

- The Plus Addons for Elementor Pro activates the Team Member Listing widget’s AJAX, Shareable-URL, and Load More features, while the base widget remains Free.
- AJAX Filter Type searches the entire post list, so with Maximum Posts Display set to 3 and 8 total posts, it returns matching posts from all 8 instead of only the 3 visible ones.
- Logged-out visitors hit a nonce failure in the AJAX Category Filter, because theplus_nonce is only generated when is_user_logged_in() is true, and WordPress returns HTTP 403 with body -1.

Do you want to display posts from a specific category using the Team Member Listing widget in Elementor? With **AJAX** filters from The Plus Addons for Elementor, you can easily show category-based posts from **all available posts**, not just the ones currently visible on the page.

When you use AJAX filtering, it searches through your entire post list, even if you're only showing a few posts at first. This guide explains how AJAX filtering differs from the Normal type, and what this pass found when testing it.

***Requirement - This widget is a part of The Plus Addons for Elementor, make sure it's installed & activated to enjoy all its powers.***

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-listing/#team-members-widget?utm_source=tpae&utm_medium=docs&utm_campaign=text)

***Note - This specific feature (AJAX/Shareable-URL/Load More) is available only when The Plus Addons for Elementor Pro is active; the base widget above is Free.***

## Before You Start

- The Plus Addons for Elementor Pro installed and activated.- Team member posts (custom post type source) with a category assigned, more posts than your Maximum Posts Display so Normal and AJAX visibly differ.

## Steps

- Add the Team Member Listing widget with **Select Source** set to **Post Type**.- Set **Maximum Posts Display** under Content Source lower than your total post count.- Turn on **Category Wise Filter**, then set **Filter Type** to **AJAX**.

### Normal Filter Type

With Filter Type set to Normal and Maximum Posts Display set to 3, even with a total of 8 posts, the filter only applies to the 3 posts currently displayed. Selecting a category the visible posts don't belong to shows nothing.

### AJAX Filter Type

With Filter Type set to AJAX, selecting a category searches your entire post list (all 8), not just the visible 3, and shows every matching post.

## What this pass verified

**Confirmed on the front end (site 1, 2026-09-27), logged in:** with 8 real custom-post-type members split across two categories and Maximum Posts Display set to 3, clicking a category button that matched none of the 3 visible posts returned zero results under Normal, and correctly pulled the matching posts from the full set of 8 under AJAX - exactly as this doc describes.

## Defect found - the AJAX filter does not work for a logged-out visitor

**This is the headline finding of this pass.** The same test, repeated logged out (i.e. as a normal site visitor), failed silently: clicking any category button under AJAX Filter Type produced no change at all - the visible posts never updated.

Root cause traced in the plugin's own code: the AJAX request's security nonce (`theplus_nonce`) is only generated `if ( is_user_logged_in() )` (`modules/enqueue/plus-generator.php`). For a logged-out visitor this value is an empty string, the server's nonce check (`check_ajax_referer`) fails, and WordPress returns HTTP 403 with body `-1` - confirmed directly via the browser's network log.

Since virtually all real site visitors are logged out, **the AJAX Category Filter on Team Member Listing does not work in production for anyone but a logged-in administrator.** The Normal filter type is unaffected (it is pure client-side JavaScript and needs no AJAX call).

## Not verified

So you know exactly what has and has not been checked:

- Whether other AJAX-driven features on this widget (besides Category Filter) share the same logged-out nonce bug was not exhaustively swept - the Load More feature was checked separately and found to work logged out (see the Shareable URL with Load More doc).

## Frequently Asked Questions

**Q: Why does the category filter show nothing when only some posts are visible?**
A: Normal filtering only checks the posts already on screen, so it can return nothing if the visible set does not contain a match. In the example on this page, Maximum Posts Display was set to 3 while there were 8 total posts, and a category button that did not match those 3 visible posts showed zero results. The Plus Addons for Elementor, The Plus Addons, Plus Addons for Elementor, POSIMYTH uses this behavior to keep Normal filtering client-side and limited to what is already loaded.

**Q: How does AJAX filtering change Team Member Listing results?**
A: AJAX filtering searches the full post list instead of only the posts currently visible in the widget. On this page, that meant a category click could find matches across all 8 posts even when only 3 were displayed at first. That matters when you want category-based results without increasing the initial post count. The Plus Addons for Elementor, The Plus Addons, Plus Addons for Elementor, POSIMYTH provides this AJAX behavior as part of its Team Member Listing workflow.

**Q: What do I need before using AJAX filter in Team Member Listing?**
A: The setup depends on three things: The Plus Addons for Elementor Pro installed and activated, Team member posts coming from a custom post type source with categories assigned, and more total posts than your Maximum Posts Display so Normal and AJAX behave differently. That last part is important because if everything is already visible, you will not see the difference between the two filter types.

**Q: Why does AJAX filter fail for logged-out visitors?**
A: The logged-out case breaks because the AJAX request nonce is only generated when a user is logged in. The page says theplus_nonce comes from code that runs inside an is_user_logged_in() check, so a visitor who is not signed in sends an empty value. That makes check_ajax_referer fail and WordPress returns HTTP 403 with body -1. In practice, that means the AJAX Category Filter works for logged-in admins but not for normal visitors.

**Q: Should I use Normal filter or AJAX filter for Team Member Listing?**
A: Use Normal filtering when you want simple client-side filtering over whatever is already displayed. Use AJAX when you need category clicks to search the full post list, not just the visible subset. The tradeoff on this page is important: Normal worked without an AJAX call, while AJAX found matches across all 8 posts but failed for logged-out visitors in testing. For production traffic, that makes Normal the safer choice unless you have verified your logged-in-only use case.

**Q: Does this AJAX category filter work for real site visitors?**
A: The tested result says no for logged-out visitors. The same category-filter test that worked while logged in failed silently when repeated as a normal site visitor, with no visible update after clicking a category button. The browser network log showed a 403 response with body -1 because the nonce was empty. If your audience is public traffic, that limitation matters more than the feature demo itself.
