Forum Replies Created
-
AuthorPosts
-
November 11, 2021 at 11:06 AM in reply to: How to showcase a bunch of photos from uploading multiple on the settings page? #31865
Long Nguyen
ModeratorHi,
Can you please share the code that creates the settings page and custom fields on your site? Refer to this documentation to show images from the settings page https://docs.metabox.io/extensions/mb-settings-page/#getting-field-value
Long Nguyen
ModeratorHi,
Please refer to this topic to get the field value from the main site and display it on the subsites with coding
https://support.metabox.io/topic/display-fileds-from-network-settings-page/Long Nguyen
ModeratorHi Tony,
Let me answer your questions.
1. When the user submits, the submission will be pending but the user will get notified of the submission via email.
Yes, it is possible. You can follow this documentation to know how to do with coding
https://docs.metabox.io/extensions/mb-frontend-submission/#form-actions2. and also when the post gets approved
You can also create a custom function to send an email to the user after you approve the post.3. All the user to edit their post without the user profile/dashboard.
No, if they do not edit the post on the frontend dashboard, they can edit their posts on the backend (admin area).4. Have a multi-step form
The frontend submit does not support showing multi-step form.5. Style it better - Remove or don't need unnecessary fields.
You can customize the form on your own with custom CSS code. Create a new field group with necessary fields and put the field group ID to the frontend submission shortcode to show on the form.Long Nguyen
ModeratorHi Martin,
You can use this plugin https://wordpress.org/plugins/mpress-custom-front-page/
to set a post/page as WordPress front page.November 10, 2021 at 3:13 PM in reply to: Shortcodes are not taken. They appear as plain text. #31844Long Nguyen
ModeratorHi Roma,
You can switch to the tab Text and add the shortcode, remember to remove two spaces between open and close square brackets. Screenshot https://imgur.com/wu5DRpf
November 10, 2021 at 2:57 PM in reply to: ✅How to get value of Custom Fields in Block Render Settings without HTML formatti #31843Long Nguyen
ModeratorHi,
You can try to use the helper function
mb_get_block_field()to get the field value (raw) in the block. Get more details on this documentation https://docs.metabox.io/extensions/mb-blocks/#render_callbackLong Nguyen
ModeratorHi,
You should use the code to get the current post ID when registering the meta box and custom fields. The builder does not support doing that.
Refer to this topic https://support.metabox.io/topic/get-the-post-id-as-value/
and this documentation https://docs.metabox.io/fields/post/Long Nguyen
ModeratorHi,
I don't know an option to preview a template for a CPT when using Elementor. You can try to contact Elementor support to ask for help with this case.
November 10, 2021 at 1:05 PM in reply to: Frontend WYSIWYG including shortcode gets formatted #31838Long Nguyen
ModeratorHi,
It's so weird. The field itself does not support parsing the shortcode to the HTML code like that. Please try to deactivate all plugins except Meta Box, MB extensions, switch to the standard theme of WordPress then re-check this issue.
You can create the custom shortcode by following this documentation https://codex.wordpress.org/Shortcode_API
November 10, 2021 at 12:44 PM in reply to: Post field: how to filter posts of certain categories? #31836Long Nguyen
ModeratorHi,
Here is an example:
'fields' => [ [ 'name' => 'Select a post', 'id' => 'my_post', 'type' => 'post', 'post_type' => 'post', 'field_type' => 'select_advanced', 'query_args' => [ 'tax_query' => [ [ 'taxonomy' => 'category', 'field' => 'slug', 'terms' => [ 'aciform', 'comedy' ], ], ], ], ], ],Long Nguyen
ModeratorHi,
Yes, it is possible. You can add this meta box ID
testimonialsandsettingsto the frontend submission shortcode to create testimonials on the frontend. And please make sure that you do not have other meta boxes with these IDs.For example:
[mb_frontend_form id="testimonials,settings" post_type="mb-testimonials" post_fields="title"]Long Nguyen
ModeratorHi Zoro,
-
You can use the extension MB Custom Post Type to create a post type with the same slug to manage the post type by Meta Box. Refer to this article https://metabox.io/move-custom-post-type-custom-field-data-from-pods-to-meta-box/
-
The plugin helps you to rewrite the CPT slug doesn't mean removing it. If you want to remove the CPT slug from the URL, you can follow this topic to do that.
https://wordpress.stackexchange.com/questions/203951/remove-slug-from-custom-post-type-post-urls
Long Nguyen
ModeratorHi,
No, the extension MB Testimonials does not support adding star rating and showing the rich snippet on the frontend like other star rating plugins.
Long Nguyen
ModeratorGreat!
Thanks for sharing your solution.November 8, 2021 at 9:58 PM in reply to: ✅WordPress database (MariaDB) error in SQL syntax - MB Relationships #31801Long Nguyen
ModeratorHi,
If you use this View code
<section style="background-color:#D5F5E3; padding: 40px 20px 20px; border-top-style: solid; border-top-color: #2ECC71; border-top-width: 5px;"> <h2> Recent Jobs at {{ post.title }} </h2> {% set job_args = { post_type: 'job', posts_per_page: 5, relationship: {id: '69', to: post.ID} } %} {% set jobs = mb.get_posts( job_args ) %} {% for job in jobs %} <li><a href="{{ mb.get_the_permalink( job.ID ) }}"><strong>{{ job.post_title }}</strong></a></li> {% endfor %} <p style="padding-top: 30px;"> <strong>For other related Jobs, please visit <a href="https://nviewscareer.com/job/">Jobs</a></strong> </p> </section>You have to assign the location to the Employer
emppost type.And if you use the shortcode
[jobs-by-employers], please make sure that it is put in a loop to query the Employerempposts.Just to make sure that
post.IDorget_the_ID()will return an current/availableemppost ID. -
-
AuthorPosts