Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Benjamin,
Would you mind telling us what doesn’t work for you? We can help you troubleshoot it.
Thanks
November 8, 2020 at 3:43 PM in reply to: ✅Admin Columns does not show when I dynamically include (PHP) a Meta Box #22743Long Nguyen
ModeratorHi,
I think the problem comes from this code:
$mbs = check_mbs($post_id); foreach ($mbs as $my_mb) { include(TEMPLATE_PATH.'/custom_mbs/'.$my_mb[0].'/custom-'.$my_mb[1].'-metabox.php'); }That means the meta box only shows when the function
check_mbs( $post_id )has the input $post_id and returns an array while in the table listing posts, it does not have the $post_id and the meta box cannot be registered to show the admin columns.Long Nguyen
ModeratorHi Max,
Please share the admin site and FTP account of the staging site Proterra again via the contact form https://metabox.io/contact/ and share some screenshots of the issue. I will check it out.
Long Nguyen
ModeratorHi Eddy,
Could you please clarify the question?
You've posted the question under the MB Frontend Submission sub-forum, that means you want to store to logged-in username as the post title when submitting a new post (check-in)?
Or want to show the post title as the username when the user logged-in? It will change the post title for other users logged-in.
Long Nguyen
ModeratorHi,
In the MB Builder, we can add the custom attribute for the checkbox field to make it required. See https://share.getcloudapp.com/X6ud6g8G.
For more information, please follow the documentation.
https://docs.metabox.io/custom-attributes/
https://docs.metabox.io/extensions/meta-box-builder/#custom-attributesLong Nguyen
ModeratorHi,
Yes, the filter change from version 1.3.9. Please take some screenshots of the issue and share the code that created the group, I will try to reproduce the issue on my end.
November 6, 2020 at 2:16 PM in reply to: ✅Admin Columns does not show when I dynamically include (PHP) a Meta Box #22730Long Nguyen
ModeratorHi,
Could you please share the code of the function
check_mbs()?I think it relates to this topic https://support.metabox.io/topic/code-not-working-with-updated-version/.
Instead of using the helper function to get the settings page value, you can use the function get_option() of WP core.
Long Nguyen
ModeratorHi Max,
Could you please delete the CPT and create again with the same name and slug? Let me know how it goes.
November 5, 2020 at 11:23 AM in reply to: ✅front end submission dashboard with custom post type #22718Long Nguyen
ModeratorHi,
Here is steps I will do to troubleshoot the issue:
- Deactivate all plugins except Meta Box and MB extensions.
- Switch to the default theme of WordPress Twenty Twenty.
- Check the page with ID
1303, make sure that it exists and has the shortcode Frontend Submission form. - Check the post type slug and field group (meta box) id, make sure it is assigned to attributes of the shortcode Frontend Submission form.
- Test the page with ID
1303, make sure it runs properly with the Frontend Submission form, create the CPT as well. - Check the error log.
Long Nguyen
ModeratorHi,
The plugin Custom Post Type Sticky supports option Sticky for the custom post type like Post.
Or we can create a custom field with Meta Box like checkbox then query to show the sticky posts by meta value. Follow this documentation for more information https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parameters.
Long Nguyen
ModeratorHi,
As I understand you want to map the custom fields (id) with the GF Form fields in the User Meta Box. See my screenshot https://imgur.com/6Dgzfwt
GF Form only support to automatically map some default fields like Username, First Name, Password ... For the custom user meta fields, we have to select by manual.
Long Nguyen
ModeratorHi,
Please update the new version of MB Custom Post Types & Custom Taxonomies v2.0.5, to fix the issue on the Support tab.
When creating a taxonomy, do i have to add the taxonomy to the CPT AND add the CPT to the taxonomy?
Because a post type can have multi taxonomies and a taxonomy can be assigned to multi post types so we have to add the taxonomy and post type back and forth.
Also, how do I fix the current CPTs and Taxonomies. The CPTs still display “[object Object]”?
For the current CPTs and Taxonomies, please delete and recreate with the same settings to remove the
[object Object]code.Long Nguyen
ModeratorHi,
Please update the new version of MB Custom Post Types & Custom Taxonomies v2.0.5, clear the browser cache then check the support page again.
Long Nguyen
ModeratorHi Max,
Please update the new version of MB Custom Post Types & Custom Taxonomies v2.0.5 then check the issue again.
Let me know how it goes.
Long Nguyen
ModeratorHi,
User Meta is a feature of GF Addon so please contact the plugin support to ask for help in this case. Thank you.
-
AuthorPosts