Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Please change code of the action hook
add_action( 'pre_get_posts', ‘justread_filter_archive’);to this
add_action( 'pre_get_posts', 'justread_filter_archive' );the issue on the single quote character
‘'Long Nguyen
ModeratorHi,
Thank you for your additional information.
Does the taxonomy of the CPT
coachinghave the slugtype? It might conflict with the Reserved Terms of WordPress https://codex.wordpress.org/Reserved_TermsPlease change the slug of the taxonomy Type to another and re-save the permalink.
Let me know if it helped.
April 20, 2021 at 6:02 PM in reply to: ✅'Only the post content area' setting does not seem to work on Archives #27425Long Nguyen
ModeratorHi Henri,
To add the search box on the archive CPT page, you should choose Render for:
The whole page layout, including header and footerorThe layout between header and footer.Refer to this topic https://support.metabox.io/topic/tag-archive-my-view-gets-ignored-when-rendering-only-the-post-content-area/
Long Nguyen
ModeratorHi Danny,
Thank you for reaching out.
The plugin MB Relationships does not support changing the post title base on a condition. For simple, I think you can create two company posts with subfix
-paidor-freefor easier to select without any condition.Long Nguyen
ModeratorHi,
You can follow this article to know how to filter posts by taxonomy https://metabox.io/filter-posts-custom-fields-custom-taxonomies-archive-pages/
Or use the plugin FacetWP to create a filter quickly https://facetwp.com/. We also have a plugin that integrates Meta Box and FacetWP https://metabox.io/plugins/meta-box-facetwp-integrator/.
Long Nguyen
ModeratorYes, you are right. There are 3 solutions (plugins) and you can install them independently without Meta Box AIO.
Long Nguyen
ModeratorHi,
Thank you for reaching out.
You just need to activate Meta Box and Meta Box AIO plugin to get all functions of extensions.
Long Nguyen
ModeratorHi Wega,
Thank you for reaching out.
You can use the action
rwmb_profile_after_processto check the field value after processing. If the field value is empty, you can update the value by using the function update_user_meta().Get more details on the documentation
https://docs.metabox.io/extensions/mb-user-profile/#form-actions
https://developer.wordpress.org/reference/functions/update_user_meta/Long Nguyen
ModeratorHi,
Yes, leave the raw content of the testimonials then we can use the selector
mbt-contentCSS code
.mbt-content { color: red; font-size: 20px; }Long Nguyen
ModeratorHi Mike,
Thank you for reaching out.
By default, WordPress supports categorizing the file upload in the date folder
/wp-content/uploads/year/month/file-nameIf you want to upload to the custom folder, please use the field type
file. Get more details here https://docs.metabox.io/fields/file/April 20, 2021 at 6:04 AM in reply to: ✅Display existing content in custom field on frontend? #27408Long Nguyen
ModeratorHi,
-
To show images from the field
image_advanced, please follow this documentation https://docs.metabox.io/fields/image-advanced/#template-usage -
Custom field saved value against a unique post, if you want to show a field value for many posts, you can create a new term/taxonomy and assign it to many posts as you want.
Long Nguyen
ModeratorHi,
To troubleshoot this issue, please follow the step Debugging Information and let me know how it goes.
https://support.metabox.io/topic/how-to-create-a-new-topic/Long Nguyen
ModeratorThanks for your feedback.
I will inform the development team to explore the possibility.
April 19, 2021 at 11:10 PM in reply to: ✅Best way to build location page, post type or taxonomy? #27396Long Nguyen
ModeratorHi Jan,
I think you should use the custom taxonomy for the product instead of creating a custom post type and create a connection between 2 post types (product and location) with MB Relationships.
Using the taxonomy, you also have the support of WordPress by using some built-in functions and easier to query posts.
Regarding the permalink structure, a post type has the default permalink yoursite.com/cpt-slug/post-slug. If you want to customize the permalink for the CPT, please follow this topic
https://wordpress.stackexchange.com/questions/94817/add-category-base-to-url-in-custom-post-type-taxonomyLong Nguyen
ModeratorHi,
If you are using the Builder, please add the option follow the format
value: image URL value2: image URL 2 value3: image URL 3See my screen record https://share.getcloudapp.com/mXupK1yn
-
-
AuthorPosts