As you may know, Voxel user filter does not allow users to select a list of authors from the frontend. It only displays posts based on the filter’s default value. In this article, I will guide you through a small trick to enable users to search for posts by author.
Go to WP backend > Post Type Settings > Fields and add a Post relation field – Profile to your post type
On the create post form, add default value for the post relation field you just created as Voxel dynamic tag: @user(profile.:id), then hide it on frontend
Note:
Make sure you have activated the Advanced Search Form addon of EA4V to display the post relation filter.
So, we have created an author filter based on the profile. I hope you succeed in implementing it
from Voxel-addons.com with ❤
No results available
ResetAccount
Navigation
Folow us