Forum Replies Created
-
AuthorPosts
-
September 7, 2023 at 8:53 PM in reply to: How to Make Star Rating selectable in the Custom Field Builder #43169
Peter
ModeratorHello,
Please follow step 5 in the documentation to output the star rating https://docs.metabox.io/tutorials/add-star-rating-fields/#5-displaying-the-value-from-the-star-rating-fields
If you are not able to complete the task, please contact us here https://metabox.io/contact/
our development team will help you with an extra fee.September 7, 2023 at 8:45 PM in reply to: ℹ️Feature Request: Add an extension for drag and drop sorting of posts in a CPT #43167Peter
ModeratorHello,
Thanks for your feedback.
I will inform the development team to consider supporting this feature in future updates.
Peter
ModeratorHello,
I can see that issue on my demo site. The video embedded is not rendered in the frontend. I'm escalating this issue to the development team to fix it. Thank you.
September 6, 2023 at 10:18 PM in reply to: How to Make Star Rating selectable in the Custom Field Builder #43159Peter
ModeratorHello,
Actually, the custom star rating field above is a
radiofield with options and some CSS code to display the star rating style. No need to create a custom field type in the builder.
If you want to register custom fields with code, please read more in the documentation https://docs.metabox.io/creating-fields-with-code/September 6, 2023 at 9:48 PM in reply to: ℹ️What do you suggest custom field type to implement reviews like this ? #43158Peter
ModeratorHello,
Yes, custom field types should be rating, text and text area. However, you will need to create a lot of custom code to create a review system on your site. Refer to this tutorial https://docs.metabox.io/tutorials/add-star-rating-fields/
I think you should use a third-party plugin instead of building a system from scratch.
September 6, 2023 at 9:32 PM in reply to: Issue with Relationship not displaying connected posts #43156Peter
ModeratorHello,
Please open the Screen Options area and see if the option Connected From is disabled. If yes, please enable it to show the admin column, screenshot https://imgur.com/wuAxWg8
Peter
ModeratorHello,
The field
marqueuses the callback function to generate the options so I cannot check this setting on my demo site. However, I add some options manually, edit a post, select an option and it saves data as well.Please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.September 5, 2023 at 10:58 PM in reply to: Custom post type has comments disabled but still receiving comments #43148Peter
ModeratorHello,
I'm not sure why you are still receiving comments even though the comment form is not available in the frontend. You can try to use a third-party plugin and see if it helps.
https://wordpress.org/plugins/disable-comments/Peter
ModeratorHello,
I think it is possible. You can create your own custom JS code and listen to the submit button, when the action click is fired, run your own code to validate the field.
Otherwise, you can look for a PHP library or snippets and use the callback function to validate/sanitize the field value.
Peter
ModeratorHello,
Are you using the WYSIWYG field? I don't see the
[embed]added to this field value, it adds the HTML tag<img>. However, you can follow the documentation to render the shortcode in the field content
https://docs.metabox.io/fields/wysiwyg/#template-usagePeter
ModeratorHello Laurent,
There are two fields that have the same ID
usure. The field ID must be unique, follow the documentation https://docs.metabox.io/field-settings/Regarding the modele/marque field, please export the field group to a JSON file and share it here. I will take a look. Follow the documentation
https://docs.metabox.io/extensions/meta-box-builder/September 4, 2023 at 9:40 PM in reply to: ✅Reorder Post manually not showing in the correct order #43133Peter
ModeratorHello Felix,
How do you display posts and order them by field value? If you are using the code, please follow the documentation https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters
September 4, 2023 at 9:18 PM in reply to: ✅How to get render_callback() have a dynamic output? #43132Peter
ModeratorHello,
I use the
time()function in the code block but do not save the time to the post content (a field value), the current timestamp displays correctly. Here is the screen record
https://drive.google.com/file/d/1atXi3wDdh67Jszpg6KQEj2Ir1zT5lb4A/view?usp=sharingCan you please share some screenshots of block settings on your site?
Peter
ModeratorHello John,
Please export the field group to a JSON file and share it here with some screenshots of the issue, I will try to import it to my demo site and check the issue there.
Refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--importPeter
ModeratorHello,
Please try to remove the wpautop option in your code and recheck this issue
'options' => [ 'wpautop' => true, ],I removed it and the
<p>tags are added properly on my demo site. -
AuthorPosts