Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
You can refer to this topic to know how to update post title from the custom field value https://support.metabox.io/topic/using-custom-meta-fields-to-create-cpt-title/
If it does not work, please share the code that creates the custom fields on your case, I will help you to correct the code. With the builder, please follow this documentation to get PHP code https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
Long Nguyen
ModeratorHi,
I've created an Elementor Form widget on my demo site, added a new form item, and connect the default value to a custom field value to show on the frontend as well. Screen record https://www.loom.com/share/e990a258b8ac416197a8ea30c8a51ba7
Long Nguyen
ModeratorHi Dom,
If you want to run a function every day, you can use the WP Cron. Please follow this topic to know how to set up a cron job https://stackoverflow.com/questions/49954871/setting-up-a-cron-job-corectly-within-wordpress-plugin
Remember to hook the function to
initaction with priority later than 20. Refer to the documentation https://docs.metabox.io/rwmb-set-meta/January 12, 2022 at 10:12 PM in reply to: ✅Display and manage Metabox sub plugins outside WordPress Plugin page #33192Long Nguyen
ModeratorIf you use the plugin MB AIO, you can manage extensions under the page Extensions. Please get more details here https://docs.metabox.io/extensions/meta-box-aio/
Long Nguyen
ModeratorHi Tom,
I think you can create a function that returns a value in PHP code, then assign it to a variable in Twig. Refer to the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions
{% set my_function = mb.my_function() %}Long Nguyen
ModeratorHi,
You can check the field value is not empty before using the loop.
{% if author.user_select_certifikat is not empty %} {% for item in author.user_select_certifikat %} {{ item.label }} {% endfor %} {% endif %}Long Nguyen
ModeratorHi,
We've deployed the fixing to the My Account page but keep the current version. Can you please download the plugin and re-install it?
Long Nguyen
ModeratorHi,
Meta Box does not support tracking the number of plays on the file. You can follow this topic to know how to do that with custom code https://wordpress.stackexchange.com/questions/168584/how-to-get-the-number-of-times-an-audio-file-has-been-played
Or choose an audio plugin to use its feature https://www.hostinger.com/tutorials/wordpress-audio-players/
January 12, 2022 at 11:18 AM in reply to: ✅Custom post not showing on the front-end, but are working through WPGridBuilder #33180Long Nguyen
ModeratorHi Vojkan,
Please try to re-save the permalink settings (Post name) to flush the cache and re-check this issue. Let me know how it goes.
January 12, 2022 at 11:04 AM in reply to: ✅What is the best way to process submitted field data before save it? #33179Long Nguyen
ModeratorHi Marco,
It looks like those filters do not work with custom fields, you can try to use the action hook
rwmb_frontend_after_save_postto update the field value after saving the post. For exampleadd_action( 'rwmb_frontend_after_save_post', 'zy_after_save_post' ); function zy_after_save_post( $object ) { $wysiwyg = $_POST['wysiwyg']; $wysiwyg = '123456'; rwmb_set_meta( $object->post_id, 'wysiwyg', $wysiwyg ); }Access the field value via the global variable
$_POST. Refer to this topic https://support.metabox.io/topic/use-rwmb_frontend_after_save_post/January 12, 2022 at 10:26 AM in reply to: ✅Display and manage Metabox sub plugins outside WordPress Plugin page #33178Long Nguyen
ModeratorHi Jeremie,
Thanks for your feedback.
That's a cool idea, I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi,
Please update the plugin MB AIO to the latest version 1.15.3 and re-check this issue.
Let me know how it goes.January 12, 2022 at 10:16 AM in reply to: How to display custom URL-field on woocommerce-product page after checkout? #33176Long Nguyen
ModeratorHi Sascha,
You need to find a WooCommerce hook, create a function and hook to that action to show the field value. Refer to this documentation https://woocommerce.com/document/introduction-to-hooks-actions-and-filters/
January 12, 2022 at 10:06 AM in reply to: Why does my WYSIWYUG text area / field not respect my paragraphs? #33175Long Nguyen
ModeratorHi Dan,
Can you please share some screenshots of the issue? You can also switch to the tab Text of the WYSIWYG field to re-check the
<p>tag is added.
https://share.getcloudapp.com/RBuyqOKALong Nguyen
ModeratorHi,
Please go to the My Account page, download the plugin MB Views and re-install it.
Let me know how it goes.
-
AuthorPosts