CMB2-Post-Search-field
CMB2-Post-Search-field copied to clipboard
Custom field for CMB2 which adds a post-search dialog for searching/attaching other post IDs
License
Hello! I'm potentially interested in using this field in a project. Would someone mind adding a license to this code? By default, the code is not open source. Thanks, Jared
Hi I have an issue: I can't get working CMB2-Post-Search-field with CMB2 Tabs: https://github.com/rubengc/cmb2-tabs When I add it "normally" it works fine but when I add this new field with...
Would be helpful to get a post title in the field instead of id for content editors. I think the field should still return the id so maybe using JS...
If i have let say 2 Posts previously selected and saved they aren't selected in the popup when i click to search again. The same aplies when I select a...
Current Code: ``` $cmb->add_field( array( 'name' => __( 'Button Link' ), 'id' => 'home_hero_button_link', 'type' => 'post_search_text', // This field type // post type also as array 'post_type' => ['page','product','post','topic','tips','nugget',...
Hi, I wrote a few lines of code, that rechecks selected items Add the code in init.php after line 188 (search.$response.html(data);) ``` search.$response.find('input').each(function (k, v) { if (search.$idInput.val().split(',').indexOf(v.value) >= 0)...
If there is more than one ajax box exist, the plugin gets wrong nonce and fails. I only changed the nonce Jquery target to popup box and problem dissapeared.
Hello I am trying to find a way to allow users to search posts by tag or category but this search won't consider those at the moment. Is there a...
It would be great to include the post thumbnail in the listing for the post search.
Currently it's not possible to select "pages" like an post archive page. Any way to accomplish this?