Forum Replies Created
-
AuthorPosts
-
January 5, 2022 at 12:45 PM in reply to: ✅Newly created custom post type name is not showing up in wordpress dashboard - l #33006
Long Nguyen
ModeratorHi,
The post type slug must not exceed 20 characters and may only contain lowercase alphanumeric characters, dashes, and underscores. Refer to this documentation https://developer.wordpress.org/reference/functions/register_post_type/
The slug
tissue-clearing-methodhas more than 20 characters. You can change it to something liketissue-clearing.Long Nguyen
ModeratorHi,
I got it. In the builder, you should use the double quote instead of the single quote. Like this
["#f00","#000","#ccc"]January 5, 2022 at 12:13 PM in reply to: metaboxes are not shown in preview changes button click #33003Long Nguyen
ModeratorHi,
Currently, it is not possible to preview the new field value. I will inform the development team to consider supporting this case in the next update.
You can try to save draft without publishing the post to preview changes.
Long Nguyen
ModeratorHi Jim,
You can use the WordPress function
wp_insert_post()to create posts https://developer.wordpress.org/reference/functions/wp_insert_post/Long Nguyen
ModeratorHi,
If you want to add a JS function when editing the post and custom fields, I think no need to customize the output of field value, just hook a function to the action
initand check if it's the admin area or edit page on the frontend. Refer to this topic https://support.metabox.io/topic/redirect-only-on-submit-not-an-update/Or simply, create a field
custom_htmland add the<script>tag to the content.
https://docs.metabox.io/fields/custom-html/January 4, 2022 at 10:29 PM in reply to: metaboxes are not shown in preview changes button click #32991Long Nguyen
ModeratorHi,
The helper function
rwmb_meta()works like the WordPress functionget_post_meta(), they retrieve the field value (post meta) from the database and show on the frontend. Preview Changes does not save data to the database so the new field value also does not show up. This issue was fixed from this topic https://support.metabox.io/topic/wordpress-preview-button-actually-saving-data/If you do not want to publish the post, you can use the option Save Draft and preview the post as well.
Long Nguyen
ModeratorHi Jan,
Can you please share the code that creates the field? And some screenshots of how it displays on your site?
Long Nguyen
ModeratorHi Jim,
Do you mean to use the data of the previous post as the default data of the new post? It's not possible to do with the plugin MB Frontend Submission.
Long Nguyen
ModeratorHi,
You can refer to this topic to know how to update the group value or delete a cloneable in a group https://support.metabox.io/topic/replace-array-value-in-group/
Then contact your developer to create the cronjob.Or create a service request here https://metabox.io/contact/
I will forward it to our development team, estimate the job, and get back to you with a quote.Long Nguyen
ModeratorHi Karthikeyan,
The field
taxonomyortaxonomy_advancedonly supports creating one new term when submitting the post. Refer to this documentation https://docs.metabox.io/fields/taxonomy/#settingsI will inform the development team to consider supporting this case in future updates.
January 4, 2022 at 11:05 AM in reply to: How to customize the 'Character Count: ' text in Text Limiter #32980Long Nguyen
ModeratorHi Marco,
Currently, it's not possible to hide or customize the text
Character Count. You can use a translation plugin to translate the textCharacter Countwith the text domaintext-limiter.Long Nguyen
ModeratorHi,
The development team is trying to investigate the issue and fix it. I will inform you when it's done.
Thanks for your patience.January 4, 2022 at 9:56 AM in reply to: ✅Newly created custom post type name is not showing up in wordpress dashboard - l #32978Long Nguyen
ModeratorHi,
Can you please share the code that creates the CPT? Refer to this documentation to get PHP code https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
January 3, 2022 at 9:22 PM in reply to: ✅Newly created custom post type name is not showing up in wordpress dashboard - l #32971Long Nguyen
ModeratorHi,
Please try to re-save the permalink settings (Post name) to flush the cache and re-check the CPT.
Long Nguyen
ModeratorHi,
You can use the action hook
rwmb_frontend_after_display_confirmationto show something after the confirmation message. For example:add_action( 'rwmb_frontend_after_display_confirmation', function() { echo '<a href="http://yoursite.com">http://yoursite.com</a>'; } );Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#form-actions
-
AuthorPosts