View - display a field from the current post (any logged-in user)

By: Nate M | Asked: 02/13/2024
ForumsCategory: How-toView - display a field from the current post (any logged-in user)
Nate M asked 10 months ago
How can I create a view that displays a field from the current post?

I can easily create a view for a field but I am not able to filter by current post. 

I see documentation that says to try setting Basic settings to Single entry. 
(that does not exist - docs not updated probably)

I've tried adding different filters. Post ID is equal to Current - this seems to pick a random entry.  NOT the current post. 
Post ID is equal to Current_id - this seems to pick a random entry.  NOT the current post. 
Entry ID is equal to Current - this gives No results
Entry ID is equal to Current_ID - this gives No results

I cant find any codex, list, reference to what can be placed in the Entry Value for the filters. 
(other than some small examples in the docs)

Am I trying to do something that is just not possible?

Thanks in advance to anybody that can help.

Cheers!  
1 Answers
Victor Font answered 10 months ago
What is your goal? Why are you trying to use a post id to filter a views. Views are filtered by form entry fields. If you're filtering by post id, you're looking at creating your own custom filter, but before we head down this path, it's best to understand the business process you're trying to realize.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right