Post Grid/Slider/Carousel for post of admin & current logged in user in
-
Hello,
as the title suggests, my question arose in another topic and @rubeushagrid13 suggested me the code:if ( is_user_logged_in() ){ $logged_in_user = wp_get_current_user(); $author = '1' . ',' . $logged_in_user->ID; }
but unfortunately it doesn’t work, probably there is a syntax error, I have tried some alternatives but nothing to do.
Do you have any ideas on how to get both the administrator and the currently logged user posts?
Thank you so much
Enrico
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post Grid/Slider/Carousel for post of admin & current logged in user in’ is closed to new replies.