php – Themeco Looper Provider Query String for current user posts

Question

I’m struggling here and hoping someone could maybe help with this.

I’m trying to use themeco cornerstone to have a “my account” page which lists posts (custom type) “listings” that the current user has created

In Themeco Cornerstone there is a Looper Provider with an option for Query String.

Within my Query String for the row looper provider I’ve added:

$post_author_listings = new WP_Query(array('post_type'=>'listings','post_author'=>$current_user->ID));

($current_user is a global variable)

However I cannot for the life of me figure out how I can get the listings taxonomies for each listing this user has created to display in the columns.

Does anyone know anything about this and how I go about doing this? banging head off brick wall at this stage

0
Tom J Nowell 2 months 2023-02-03T06:14:48-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse