Forum Replies Created
-
AuthorPosts
-
May 16, 2022 at 2:35 PM in reply to: ℹ️Suggestion : Action before/after encoded string in wrap_function_call() #36037
Long Nguyen
ModeratorHi Kevin,
Thanks for your suggestion.
I will inform the development team to consider supporting those actions in future updates.
May 16, 2022 at 1:58 PM in reply to: ✅How to include private posts in overview of posts for author #36035Long Nguyen
ModeratorHi Eddy,
There is no parameter
numberposts, it should beposts_per_page. Other parameters look good, so you can check if there is a private post that has the post metatraining_post_idand value300.Read more about query parameters here https://developer.wordpress.org/reference/classes/wp_query/
Long Nguyen
ModeratorHi,
You can try to deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress (Twenty TwentyTwo) then re-check this issue.
Long Nguyen
ModeratorHi,
The title on the archive page might be controlled by your theme template. You can try to contact their support to ask for help with this issue.
May 14, 2022 at 10:03 PM in reply to: ✅rwmb_frontend_after_display_confirmation filter not working with AJAX shortcode #36024Long Nguyen
ModeratorHi,
Thank you for your feedback.
I've escalated this issue to the development team to fix it in the next update.
May 14, 2022 at 6:40 PM in reply to: Taxonomy Advanced field for selecting multiple WooCommerce product categories #36023Long Nguyen
ModeratorHi,
The slug
product_catis the correct slug for the Product Category of WooCommerce. It also works as well on my site. Screen record https://monosnap.com/file/2atFZXVmFul7n2klxe1NqscuGVTeUrLong Nguyen
ModeratorHi Philippe,
You need to add the meta box ID and post type settings when registering the meta box. For example:
add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Event details', 'post_types' => 'event', //here 'id' => 'my-meta-box-id', //here 'fields' => [ ... ], ]; return $meta_boxes; } );Read more on the documentation https://docs.metabox.io/creating-fields-with-code/
Long Nguyen
ModeratorHi,
The WYSIWYG option
textarea_rowsworks as well on my demo site, check this screen record https://monosnap.com/file/e1qZwe922sSKj57yRhfTyw4UyB344dField code:
[ 'name' => __( 'Wysiwyg', 'your-text-domain' ), 'id' => $prefix . 'wysiwyg_37rhyaja577', 'type' => 'wysiwyg', 'options' => [ 'textarea_rows' => 50, ], ],Long Nguyen
ModeratorHi,
I do not see that issue on my end. Can you please share the code that creates the custom block on your site? And try to deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress (Twenty TwentyTwo) then re-check the issue.
Long Nguyen
ModeratorHi John,
I think you still need to map a specific field ID to GF form field value because we don't know which field ID will be assigned to what value. You can also follow this documentation to get all fields info https://docs.metabox.io/functions/rwmb-get-registry/
Long Nguyen
ModeratorHi Viktor,
You can follow Polylang documentation to translate the CPT name https://polylang.pro/doc/multilingual-custom-post-types-and-taxonomies/
Then you might need to use the code to register the post type https://docs.metabox.io/extensions/mb-custom-post-type/#getting-php-codeLong Nguyen
ModeratorHi,
You might need to add more complex custom code to create the filter on the archive page. Please follow this article to know how to do it with PHP code https://metabox.io/create-ota-website-with-meta-box-p2/
or search on our blog page about the filter https://metabox.io/?s=filter&post_type=postLong Nguyen
ModeratorThanks for sharing your solution.
Long Nguyen
ModeratorHi,
Can you please share the code that creates the custom fields on your end? And share some screenshots when you add the code to output the field value.
Did you try to add the code to the post template file (deactivate Oxygen) to check if it works?Long Nguyen
ModeratorHi Heinrich,
There was an issue with the responses from our server. Please try using the WP Sweep plugin to clear the response cache, and try again.
-
AuthorPosts