More Query Parameter

0
More Query Parameter 1
Jindřich
Nov 07, 2017 07:21 AM 1 Answers General
Member Since May 2016
Subscribed Subscribe Not subscribe
Flag(0)

Good Day,

my question from here:

current user in post grid

I bought pro version and need More Query Parameter by only current author. But not work. I create new (author) user and there is still all posts, it not filter by current user. Testing on subdomain too. Any Idea?

View post on imgur.com

 

2 Subscribers
More Query Parameter 1
More Query Parameter 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
1
More Query Parameter 4
PickPlugins
Nov 07, 2017
Flag(0)

Welcome to our forum.

Please confirm you have created the shortcode and functional  [current_user_id]

If you haven't created the shortcode please add following code bellow to your theme functions.php file and use following shortcode  0

add_shortcode('post_grid_current_user_id','post_grid_current_user_id');

function post_grid_current_user_id(){
  
  return get_current_user_id();
  
  }

 

I just tested the code works fine. let me know for more help.

Regards

Sign in to Reply
Replying as Submit