Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
It is not possible. The field
postsaves post ID to the database so you should use another field to make it searchable. Suggest fieldtextas on my screen record.Get more details here https://docs.metabox.io/fields/post/#data.
Long Nguyen
ModeratorHi,
Not yet. The Meta Box plugin focuses on functionality on the backend so the CSS to style the field input is not necessary to create the documentation.
You can use the Inspect tool of the browser to find the class to set the selector https://developers.google.com/web/tools/chrome-devtools/css.
Long Nguyen
ModeratorHi Steve,
You can refer to this topic https://support.metabox.io/topic/metabox-user-avatar-not-working-with-elementor-author-widget/.
To get the code to show the custom avatar when using the component WordPress > Dynamic Data > Author Avatar of Oxygen Builder. Screenshot https://share.getcloudapp.com/eDu8GoW2.
Apply the code with the plugin Code Snippets https://wordpress.org/plugins/code-snippets/ because I see the site does not run the file functions.php of the theme when editing the page with Oxygen.
Long Nguyen
ModeratorHi,
It is impossible. If you add the HTML code in
stdsettings without the closing tag</div>, it will be added automatically or break the layout.I recommend using the field group and wrap HTML code before and after the field appearance. Screenshot https://share.getcloudapp.com/mXu1wdy7.
Or use two actions
rwmb_before_{$meta_box_id}rwmb_after_{$meta_box_id}to wrap the meta box appearance inside the <div> tag.
https://docs.metabox.io/actions/add_action( 'rwmb_before_{$meta_box_id}', function() { echo '<div id="your-id" class="your-class">'; } ); add_action( 'rwmb_after_{$meta_box_id}', function() { echo '</div>'; } );Long Nguyen
ModeratorHi Igor,
Please read the description of the admin columns settings
searchable Allow to search posts by meta value. Optional. Default is false. filterable Allow to filter posts by custom taxonomy. Applied only if the field is taxonomy field. Default is false.https://docs.metabox.io/extensions/mb-admin-columns/#3-advanced-configuration
Filterable is used for the field taxonomy and the taxonomy is assigned to that post type. I've also created the short screen record for example https://share.getcloudapp.com/12uoweqo.
You can check the admin columns setting when editing the field group Diário de Obras.
Long Nguyen
ModeratorHi Martin,
You can try this sample CSS code to style the "Add more" button (cloneable).
.rwmb-button.add-clone { background-color: red; padding: 10px; font-size: 20px; }Long Nguyen
ModeratorHi @DFM
Can you please re-send it? Mention this topic URL in the content and let me know after sending it.
Long Nguyen
ModeratorHi Igor,
As I can see it works as well, screenshot https://share.getcloudapp.com/xQunrWQd.
Can you please re-check it?
Long Nguyen
ModeratorHi,
The field
postwill take the post title to show on the list so if you do not enable Supports > Title, the list will show text Auto Draft as the temporary post title. You should enable the Title for the post type ManPower to select post easier.If you want to show the field value assigned to the post type ManPower on the frontend of the post type Labor Diary, I recommend using the extension MB Relationships https://docs.metabox.io/extensions/mb-relationships/. Do the same with the custom taxonomy of the post type ManPower.
Long Nguyen
ModeratorHi,
Thank you for your effort.
Your suggestion code works as well on my end. I will inform the development team to check on this case.
March 16, 2021 at 12:29 PM in reply to: ✅Builder breaks when adding Divider field (in a Group) #24945Long Nguyen
ModeratorHi Austin,
Thank you for your reporting.
I also experience with this issue. I'm going to escalate it to the development team to fix it in the next update.
Long Nguyen
ModeratorHi Igor,
Please refer to this topic to know how to enable admin columns in the Builder
https://support.metabox.io/topic/add-fields-to-admin-columns-using-builder/admin_columns.title=>PriceLong Nguyen
ModeratorHi Toni,
There was a problem with the session path on your server. Please follow this topic on StackOverFlow to know how to fix it https://stackoverflow.com/questions/11779889/warning-session-start-function-session-start-open-tmp-sess-e07-42c14904.
Or contact your hosting/server provider to ask for help in this case.
Long Nguyen
ModeratorHi,
Not yet. For the second question, you can get the list of the relationship objects connected by following the documentation https://docs.metabox.io/extensions/mb-relationships/#getting-connected-items.
Long Nguyen
ModeratorHi,
No, it's not possible. The Builder does not support using a function in the input field settings. So I recommend using the code to run a PHP function.
-
AuthorPosts