Forum Replies Created
-
AuthorPosts
-
jw_bln
ParticipantOK, thanks - understood, not a big issue.
jw_bln
ParticipantCan confirm this too, at least for the admin area (seems, on the frontend it is working).
Text limit 100 characters is set in field group.
"Character Count: 50/100" is shown on a text fields.
BUT not on textarea fields.
So, more text is entered as allowed...
Will this be fixed?September 15, 2024 at 5:47 AM in reply to: RestAPI, limit fields in response + Cache strategies #46458jw_bln
ParticipantThanks for your response.
I guess I was not precise enough ๐
Yes, I know I can use LiteSpeed caching or similar (server-side caching).
What I was looking for was something like cache-control-headers (maybe WP_REST_Server::send_headers) for specific routes to enable client-side caching.
I am still on the way, to find the best solution.But regarding fields of MB:
It's not only about hiding fields.
Most likely I am looking for something like
- a route 1, where I can have the full field set
- and route 2, where I can have only a subset
What would be your recommended way (please with a simple example)...Also, is there any possibility to output ONLY MB_fields?
I want to exclude any other fields from WP like category information, URL, etc...jw_bln
ParticipantOhhhh, OK (works), thanks ๐
jw_bln
ParticipantIf not easily possible:
Can I achieve the same using category?
URL for parent/child = domain.com/slug/main/child
URL for category = domain.com/category/subcategory/page
Seems similar, or are there specific disadvantages?July 27, 2024 at 12:37 PM in reply to: โ post-field: relative path, text-field: html not working #46028jw_bln
ParticipantGreat, thanks.
jw_bln
ParticipantSorry for not being able to immediately understand.
But -of course- and luckily it's working now.
Thanks.jw_bln
ParticipantTo be more specific and clear:
I do NOT want to use a shortcode (like php echo do_shortcode....) before or after the WYSIWYG field. I want to use any shortcode at any place inside the WYSIWYG field, like:<p> this is some text inside the WYSIWYG/TinyCMS </p> [shortcode a="b"] <p> some other text inside the field</b>As it is possible in Gutenberg or other rich text fields, I want to place a shortcode at any place wished inside the text (WYSIWYG field).
I have seen https://support.metabox.io/topic/shortcodes-from-other-plugins-not-rendering-in-metabox-fields but this is not the or a valid answer.
Hope this clarifies the issue.
jw_bln
ParticipantQuestion: I don't believe so, but is this related?
https://support.metabox.io/topic/line-breaks-in-css-getting-wrapped-in-paragraphs/jw_bln
ParticipantSorry - this absolutely gives me no additional knowledge, nor any answer to my question.
I know how to use the MB fields in templates.
I do not need to change p tags.
I would not ask if the documentation would cover this issue.I NEED TO USE A SHORTCODE INSIDE THE WYSIWIG FIELD WHICH IS NOT WORKING.
As described in Gutenberg or in other similar rich text fields this is working without any hassle.
Only in your WYSIWIG field it is not working.Again: What is the reason for this?
Please provide an example of how to use a shortcode inside a WYSIWYG field.
Maybe I missed something.jw_bln
Participantsorry - forgot to answer - YES this was the reason...
jw_bln
Participanthttps://digitaldomain.it/screenshot/Metabox-error.mp4
YES - looks familiar ๐jw_bln
ParticipantThanks for the information.
I even deactivated, uninstalled, and reinstalled it without success.
So there must be a leftover or something else which blocks it.
What are the pre-requirements to use Metabox?
Are there certain steps I can go to check preconditions?
It seems only rendering itself is the root cause...jw_bln
ParticipantYES can second this,
- deactivated all custom scripts (PHP, js, css)
- have disabled all add-ons
- deleted all field groups
- created a new field group and put some elements into that group (only standard values) updated/saved
- reloaded field group edit page
- (still) fields, which should exist as saved before, are not visible !!
- seeing the same console errors
So, if there are already two, it seems not to be on our side. (?)
Please let us know ASAP what happened...
Thanks.BTW: The field group + fields itself should be saved, as I can export the code (see below).
So it seems only the GUI is not working as expected.{ "post_type": "meta-box", "post_title": "test", "post_date": "2023-03-19 16:05:11", "post_status": "publish", "post_content": "", "settings": { "object_type": "post", "post_types": [ "post" ], "context": "normal", "priority": "high", "style": "default", "tab_style": "", "tab_default_active": "", "custom_table": { "name": "" }, "class": "", "prefix": "", "text_domain": "your-text-domain", "function_name": "your_prefix_function_name" }, "fields": { "radio_jhf5zmv1if": { "_id": "radio_jhf5zmv1if", "name": "Radio", "id": "radio_jhf5zmv1if", "type": "radio", "label_description": "", "desc": "", "options": "", "std": "", "max_clone": "", "add_button": "", "admin_columns": { "position": { "type": "after", "column": "title" }, "title": "", "before": "", "after": "" }, "columns": 12, "tooltip": { "icon": "", "position": "top", "content": "" }, "before": "", "after": "", "class": "", "sanitize_callback": "", "save_field": true }, "text_p69hbfhu8sb": { "_id": "text_p69hbfhu8sb", "name": "Text", "id": "text_p69hbfhu8sb", "type": "text", "label_description": "", "desc": "", "std": "", "placeholder": "", "size": "", "prepend": "", "append": "", "datalist_choices": "", "max_clone": "", "add_button": "", "admin_columns": { "position": { "type": "after", "column": "title" }, "title": "", "before": "", "after": "" }, "columns": 12, "tooltip": { "icon": "", "position": "top", "content": "" }, "before": "", "after": "", "class": "", "sanitize_callback": "", "save_field": true } }, "data": [], "meta_box": { "title": "test", "id": "test", "text_domain": "your-text-domain", "function_name": "your_prefix_function_name", "fields": [ { "name": "Radio", "id": "radio_jhf5zmv1if", "type": "radio", "inline": false }, { "name": "Text", "id": "text_p69hbfhu8sb", "type": "text" } ] } }December 16, 2022 at 4:28 AM in reply to: wpd bzw. query vars --> order by --> MB Custom Table #39842jw_bln
ParticipantYES, fully correct - I can confirm that the output of wpdb and the print_r output shows that the correct data is selected and even ordered (if ORDER BY is used) - no surprise.
But on the front end/Bricksbuilder-UI, I don't see the correct result.
Bricksbuilder support points in your direction.Shall I send you a message via the support-email, so you can see the conversation and feedback?
-
AuthorPosts