I am trying to: I have a parent Brand custom post type with a child Product custom post type. I have a 'Brands' pulldown/select that shows the parent brands belonging to the logged-in user. It should display on the CRED 'Edit Product Listing' and "Create Product Listing" forms. It was working fine in Views 1.10.1 but does not appear or generate after upgrading to Views 1.11
I visited this URL: hidden link
I expected to see: A pulldown listing the Brands custom posts belonging to the logged-in user.
Instead, I got: A blank space where no pulldown is output.
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
There is a known problem in current version of Views:
Shortcode [wpv-layout-start] and [wpv-layout-end] will output a extra HTML div tag, so you can not use view's result as option of CRED field directly. it is already in our to-do list, I added this thread to raise our developers attention.
Currently, please try to create a custom shortcode to hide the extra div, like this:
1) add below codes into your theme/functions.php
2) edit the view "Brands belonging to this user", in section "Loop Output", wrap Shortcode [wpv-layout-start] and [wpv-layout-end] with above custom shortcode [hide-it], like this: