I would like to show posts and users from a custom post type 'bikes' from users with a custom field 'province' on a page with a custom field 'state'. So showing which have a match with a custom field of a page.
I'm creating a page of all states in my provinces of my country and i would like to show them all users in that province and a listing of bikes which can be bought in that province.
Thanks for your response. I have the default post type Pages and a custom post type Bikes.
I have a custom field 'State' in the Post type Pages and also a user custom field 'State'. Both have the same values, like 'Groningen'.
Now i have a Page with page title Groningen with custom field 'State' and value 'Groningen'. I would like to have a view on this page with all users with the custom user field 'State' with value 'Groningen'. Is this possible?
1) Create a User view and format "Loop Editor" as per your requirement
2) Add Query Filter for your custom USER field "State" and set it to filter by Shortcode attribute and use value "pagestate" in the input box and save the query filter
3) Go to your page, add this user view with shortcode attribute, For example:
Well - could you please share problem URL where you added your view and access details so I can check what's going wrong there.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.