current user in post grid

0
current user in post grid 1
Jindřich
Apr 11, 2017 09:38 AM 1 Answers General
Member Since May 2016
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

How can I view posts only for current user in post grid?

2 Subscribers
current user in post grid 1
current user in post grid 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
current user in post grid 4
PickPlugins
Apr 11, 2017
Flag(0)

Welcome to our forum,

This is possible in 2 way.

#1. via filter hook, we have filter hook for query argument, so you can add your own arguments on it to filter post. but it will works on all of your post grid.

https://pickplugins.com/documentation/post-grid/filter-hooks/post_grid_query_args/

 

#2. More Query Parameter (Premium only)

you can add your own arguments under the option "More Query Parameter", this also support shortcode for passing value or arguments, please see the screenshot ([current_user_id] is a shortcode that returns current user id)

http://imgur.com/a/zPYpz

I hope that help.

Regards

current user in post grid 5
PickPlugins
- Nov 06, 2017 08:13 AM
Flag (0)
0

Hi, Jindřich can you please post new question with your details issue?

Regards

current user in post grid 6
Jindřich
- Nov 06, 2017 12:14 AM
Flag (1)
0

Good Day,
I bought pro version and need #2. But not work. I create new (subscriber) user and there is still my posts. Testing on subdomain too. Any Idea?

Sign in to Reply
Replying as Submit