Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Adam,
The default select field type of the post field is Select Advanced, and it uses Ajax to get and show the data. So there are two parts: PHP code, which you are extending to use the field structure and Javascript code to trigger the Ajax and send the data to PHP.
You need to create your own JS code to create Ajax to handle click and return data to the custom Post field. It could be a little bit complicated, please take a look at the file
/wp-content/plugins/meta-box/js/select-advanced.js
and documentation https://developer.wordpress.org/plugins/javascript/ajax/Peter
ModeratorHello Alan,
Can you please share some screenshots of the field group, settings page and issue on your site?
Peter
ModeratorHello Topher,
If you add the WP Query with relationship parameter to the post template in the theme file without using your custom plugin to show the relationship, does it work?
February 18, 2024 at 9:15 PM in reply to: ✅This plugin failed to load properly and is paused during recovery mode. #44603Peter
ModeratorHello John,
Please deactivate the plugin Agency Base and recheck this issue.
February 18, 2024 at 9:10 PM in reply to: ✅The option for Prepended permalink structure is not working #44602Peter
ModeratorHello,
I will inform the development team to update the description of this field in future updates.
Thank you.
February 18, 2024 at 9:05 PM in reply to: ✅Custom table field to have same value as post title #44601Peter
ModeratorHello,
If you don't use the action hook
rwmb_after_save_post, you can use the hook save_post. There isn't an option to save a field value with another field value without using code.February 16, 2024 at 10:37 PM in reply to: ✅Views Shortcode in Elmntr Group Skin displays all array values in every instance #44591Peter
ModeratorHello,
If you use the code to display the subfield value in a group, you can add the View shortcode to the post content or post template directly without adding it to the MB Group Skin template.
Let me know how it goes.
Peter
ModeratorHello,
Currently there isn't an option to move a custom field between field groups. I will inform the development team to consider supporting this feature in future updates.
February 16, 2024 at 10:22 PM in reply to: ✅Post Type + Template Bricks Builder + Page for menu = no CSS on active page menu #44587Peter
ModeratorHello,
In the case of using Bricks Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/If you want to use the code to output the settings page value, please follow the documentation https://docs.metabox.io/extensions/mb-settings-page/#data
Peter
ModeratorHello Marco,
Please try to use the key
comparein the meta-query to see how it goes.'meta_query' => array( array( 'key' => 'custom_field', 'value' => $value, 'compare' => '=' ), ),Also, please ensure the post type slug
custom_type, field IDcustom_fieldare correct. Following the WordPress documentation https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parametersPeter
ModeratorHello,
Please try to use the option Before and After of the field settings to see if it helps. You can read more about that option in this topic https://support.metabox.io/topic/feature-request-simple-wrapper-element/?swcfpc=1
Peter
ModeratorHello,
I think your question needs a response from Brick builder support which you use to create the template. Meta Box doesn't support this feature.
Peter
ModeratorHello Michael,
Sorry for the late reply. You can still use the parameter
'order_by' => 'meta_value'in WP Query. The SQL query helps you to get a list of post IDs that have the specific field value stored in the custom table.February 15, 2024 at 9:49 PM in reply to: PHP 8.1 > PHP Deprecated: strpos(): Passing null to parameter #44576Peter
ModeratorHello,
Do you use the code to register the settings page with icons? I use the builder and don't see that error message. If yes, please share the code with me. I will help you to check the issue.
Peter
ModeratorHello,
In the builder, you can use the option Before and After of the field settings to create an HTML wrapper element for a/some fields. Please check these screenshots https://imgur.com/a/Tk9pBXi
-
AuthorPosts