We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've added a custom field to my CPT using CMB2 and this code:
$cmb->add_field( array( 'name' => __( 'Place', 'my-plugin-slug' ), 'desc' => __( 'The place where this playlist is going to be used', 'my-plugin-slug' ), 'id' => VBCPLM_Playlist_MetaKeys::$place, 'type' => 'custom_attached_posts', 'options' => array( 'show_thumbnails' => true, 'filter_boxes' => true, 'query_args' => array( 'posts_per_page' => 10, 'post_type' => 'place_type', ), ), 'on_front' => false ));
but when the edit post backend page loads, I get the following in the console:
attached-posts-admin.css:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED attached-posts.js:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
and the attached posts field doesn't work (the '+' button does nothing).
I'm using the latest CMB2 code, up to date to the latest commit as of now.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've added a custom field to my CPT using CMB2 and this code:
but when the edit post backend page loads, I get the following in the console:
and the attached posts field doesn't work (the '+' button does nothing).
I'm using the latest CMB2 code, up to date to the latest commit as of now.
The text was updated successfully, but these errors were encountered: