Forum Replies Created
-
AuthorPosts
-
March 4, 2023 at 2:45 PM in reply to: ✅After Edit, Custom Field Group Only Applies to "Posts" #40834
Peter
ModeratorHello,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
Peter
ModeratorHello,
I'm not able to reproduce the issue on my end from scratch. For now, if you save a field WYSIWYG value in a post then change the field type to textarea and the value still displays as well. Can you please try to reproduce the issue in a fresh install of WordPress and Meta Box?
Peter
ModeratorHello,
The number field only allows inputting number values. If you want to add currency, please consider using the text field. Or use a custom field type of a Meta Box user, please find it here https://github.com/badabingbreda/field-text-multimask
Peter
ModeratorHello,
The custom post type slug should not be changed, even if you use the custom archive slug or custom rewrite slug, it is only set up once. Since it's a basic WordPress question, I do not have any advanced advice in this case, you can try to ask some experts in the WordPress support community about that https://wordpress.org/support/forum/how-to-and-troubleshooting/
Peter
ModeratorHello,
>> What kind of ticketing system? Then what is this support forum for?
This is the main support forum but it is public and it's not possible to share the credentials here so we have a ticket system to receive that info. Please read more here https://support.metabox.io/topic/support-policy/?swcfpc=1I've sent 3 replies about the wrong account but do not receive any reply from you, screenshot https://monosnap.com/file/JnuBMsOal9olapDlqALS2PM3e5nkKw
Peter
ModeratorHello,
Can you please recheck the code on your site and see if it works?
{% set args = { post_type: '3d-flip-book', relationship: { id: 'publicationtoflip', to: post.ID } } %} {% set my_posts = mb.get_posts( args ) %} {% for post in my_posts %} {{ post.ID }} {% endfor %}The issue here is you are enabling the option Reciprocal in the relationship. That means there is only one connection from 3d-flip-book to publication and not vice versa. So you cannot query to get the 3d-flip-book post ID from publication post. I've turned this option off then now it works correctly.
Please read more on the documentation https://docs.metabox.io/extensions/mb-relationships/#relationship-settings
Peter
ModeratorHello Peter,
Can you please reply to your ticket in our ticket system?
Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a closer look.Peter
ModeratorHello,
Did you use the for loop to iterate through the post array as on the documentation https://docs.metabox.io/extensions/mb-views/#custom-query
or you just use this code{{ post.ID }}to output the post ID?It should look like this
{% set args = { post_type: '3d-flip-book', relationship: { id: 'publicationtoflip', to: post.ID } } %} {% set posts = mb.get_posts( args ) %} {% for post in posts %} Post title: {{ post.post_title }} {% endfor %}Peter
ModeratorHello,
I've had a similar issue, to resolve it, just delete the old field and create a new one with the same field ID to display the field value when editing the post.
Peter
ModeratorHello,
If the view template is assigned to the Publication post type, and you want to display a list of 3d-flip-book posts, you can use the direction
from.{% set args = { post_type: '3d-flip-book', relationship: { id: 'publicationtoflip', from: post.ID } }Peter
ModeratorHello,
Just the first block of code for the "Green Care Form" page as I mentioned above.
add_filter( 'rwmb_frontend_post_title', function( $field ) { if ( is_page( "Green Care Form" ) ) { $field['required'] = true; $field['name'] = 'Name of Green Care organisation'; } return $field; // here } );Peter
ModeratorHello,
I see the code snippet in the topic https://support.metabox.io/topic/user-dashboard-displaying-the-right-form/?swcfpc=1
As the suggestion, please move the
returnstatement outside of the conditionifstatement and check the title again.add_filter( 'rwmb_frontend_post_title', function( $field ) { if ( is_page( "Green Care Form" ) ) { $field['required'] = true; $field['name'] = 'Name of Green Care organisation'; } return $field; } );March 2, 2023 at 6:48 PM in reply to: user button language displayed as site language NOT as user set language WPML #40791Peter
ModeratorHello,
I've tested this issue on my demo site without WPML.
- site language: Spanish
- user language: English
the "add media" button displays in the English language. Can you please recheck this on your site?Peter
ModeratorHello,
I've imported the field group to my local site, assigned it to a post type and the field group displays as well when editing the post. Can you please ask other admins if it is moved to the sidebar?
If not, please share your site credentials to this contact form https://metabox.io/contact/, I will take a closer look.
-
AuthorPosts