Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
When creating a new post, before publishing it, the post ID will not be created so the code to get the post ID doesn't work.
You can update the field value after publishing the post with the hook save_post.Peter
ModeratorHello,
1. You can add the image link directly to your reply.
2. Calling the PHP function in the View editor is noted in the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions
you can use the proxy
mb.to call it. Note: the PHP function should return a value to use in the View editor.Peter
ModeratorHello,
Following the documentation https://docs.metabox.io/fields/osm/#outputting-a-map-in-a-group
Please change the classRWMB_Map_FieldtoRWMB_OSM_Fieldand recheck this issueecho RWMB_OSM_Field::render_map( $group_value['osm'], $args );April 2, 2024 at 11:07 PM in reply to: ✅Bug: Changing field type to the 'group' crashes the UI #45118Peter
ModeratorHello Maxim,
Thanks for your feedback. I can reproduce the issue on my demo site. I've escalated this to the development team to fix the issue. I will let you know when it's done.
Peter
ModeratorHello Saul,
I'm afraid that MB Frontend Submission doesn't support this case. You can set the post status Draft for the submitted post for the first time submitting. But after reviewing and publishing the post the status won't be changed to Draft again.
Peter
ModeratorHello,
I'm not sure how Bricks get the field information in their builder. You can contact Bricks support to get further assistance.
Refer to our support policy https://metabox.io/support/topic/support-policy/Peter
ModeratorHello,
Thanks for your feedback. I can see that issue and I've escalated it to the development team to update the new version of MB Views 1.12.7.
April 2, 2024 at 10:32 PM in reply to: Getting Clonable Text Fields in Field Group to Display in Brizy Template Editor #45113Peter
ModeratorHello,
The compatibility between Meta Box and Brizy is maintained on Brizy's side. Please get in touch with their support to get further assistance. Or you can use the top fields instead of sub fields in a group.
Refer to our support policy https://metabox.io/support/topic/support-policy/
April 2, 2024 at 10:17 PM in reply to: How to target a specific index of cloned fields with Metabox Group #45112Peter
ModeratorHello,
You can create a loop to iterate through the cloneable group value and check the key to update the hidden field of a specific clone group. For example:
$group_values = rwmb_meta( 'group_id' ) ?: []; foreach ( $group_values as $group_key => $group_value ) { if ( $group_key == 1 ) { $group_value[1]['hidden_field'] = 'something'; } }Following the documentation https://docs.metabox.io/extensions/meta-box-group/#sub-field-values
April 2, 2024 at 10:07 PM in reply to: Show/Hide Field Group based on Taxonomy when Taxonomy is not in editor #45111Peter
ModeratorHello,
As I said above, you should assign the term ID to the condition value, not "Solo". You can get the term ID in the URL when editing it.
Screenshot https://imgur.com/mm7LSSIApril 1, 2024 at 10:02 PM in reply to: ✅For-Loop iterates only 5 times but there are more items than 5 #45095Peter
ModeratorHello,
You can set the number of posts in admin area > Settings > Reading > Blog pages show at most. Or add the setting
posts_per_pageto the query args:{% set args = { post_type: 'my-job', posts_per_page: 8, relationship: { id: 'post-to-job', from: current_post_id } } %}Following the documentation https://developer.wordpress.org/reference/classes/wp_query/#pagination-parameters
April 1, 2024 at 9:33 PM in reply to: select_advanced field for taxonomy_advanced auto selecting first option #45094Peter
ModeratorHello,
It works properly on my demo site, showing the blank option by default. You can try to deactivate all plugins except Meta Box, switch to a standard theme of WordPress and check this issue again.
April 1, 2024 at 9:17 PM in reply to: Show/Hide Field Group based on Taxonomy when Taxonomy is not in editor #45093Peter
ModeratorHello Keith,
You should use the Conditional Logic option in the Settings tab of the field group to set the field group show/hide based on a field value. Screenshot https://monosnap.com/file/Hx63fMcezrUbbOo14iJ5uSOe2SSI19
where 123 is the term ID.Peter
ModeratorHello,
The extension MB Relationship only saves the ID of the object to the database, so you have to use the ID in the
relationshipargument.
If it still doesn't work, please share the code that creates the relationship between the client and project on your site.April 1, 2024 at 8:30 PM in reply to: front end submission for post type does not auto refresh permalinks #45090Peter
ModeratorCan you please share your site credentials by submitting this contact form https://metabox.io/contact/ ?
I will take a look.
-
AuthorPosts