Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
If you are familiar with coding, you can follow this topic to create a custom frontend dashboard on your own https://support.metabox.io/topic/duplicate-dashboard-shortcode
the post list in the dashboard is just created by a WP query.Peter
ModeratorHello,
Meta Box supports an extension MB Frontend Submission that allows the user to edit the post in the frontend. Please read more here https://metabox.io/plugins/mb-frontend-submission/?swcfpc=1
If you want to use MB Views, it will need a lot of custom code to do and it is beyond our scope of support.
Peter
ModeratorHello,
Please follow this topic to use some PHP code to auto-login after registration https://support.metabox.io/topic/how-to-set-auto-login-after-a-successfull-registration-page/
Peter
ModeratorHello,
You can use the option "Hide from frontend" to hide a specific field on the frontend. If some users need to have the field, then you will need to create a group for a specific user (you) or user role. Please use the option "Advanced location rules" (MB Include Exclude) in the field group settings.
Refer to the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/Peter
ModeratorHello,
I use the code below to print all elements of the $_POST object and still can access the field value as well.
add_action( 'rwmb_frontend_after_save_post', function( $object ) { echo "<pre>"; print_r( $_POST[] ); echo "</pre>"; die('12345'); } );June 15, 2023 at 10:10 PM in reply to: Searching for Forum Post - Inline Editing Code on Admin Page #42230Peter
ModeratorHello Joe,
Does the code relate to a custom field or CPT? Can you please give more details?
Peter
ModeratorHello,
It's the customization code for your specific needs so it is beyond our scope of support. FYI, the iframe is not available on the page load, it is available when clicking on the button "Add New Post". You can listen to the body change to do stuff.
For example:
jQuery(document).ready(function($) { $('body').on('click', '.rwmb-post-add-button', function() { $('body').find('#rwmb-modal-iframe').on('load', function () { $(this).contents().find("#wpwrap").css("background-color", "red"); }); }); });June 15, 2023 at 9:01 PM in reply to: [Bug] UI Disappears after changing Sub-Group item to Checkbox #42228Peter
ModeratorHello,
Thanks for your feedback. I can reproduce the issue on my side. I've escalated this issue to the development team to fix it in the next update.
Peter
ModeratorHello,
You can use the field
image_advancedto create a gallery for the CPT and display it in the frontend with Elementor.
https://docs.metabox.io/fields/image-advanced/June 15, 2023 at 8:46 PM in reply to: Select Advanced: Populate Options from Custom Model based on another field value #42225Peter
ModeratorHello,
You can try to use this code to get the post ID in the admin area
$post_id = null; if ( isset( $_GET['post'] ) ) { $post_id = intval( $_GET['post'] ); } elseif ( isset( $_POST['post_ID'] ) ) { $post_id = intval( $_POST['post_ID'] ); }Peter
ModeratorHello,
The post slug is the property
post_nameof the post object. You can refer to this topic to update the post slug https://support.metabox.io/topic/set-post-title-from-field-and-encode-the-slug/?swcfpc=1#post-36539Peter
ModeratorHello,
Yes, exactly what I need to tell you. The map field saves the location to the database with the format:
lat,lng,zoom, it is noted in the documentation https://docs.metabox.io/fields/map/#data
Apparently, if a field does not have a correct value in the database, it will not display properly on the site. And I think no need to update the doc in this case.June 14, 2023 at 10:10 PM in reply to: Archive Template tags are not working with Php 8.0 in meta views #42204Peter
ModeratorHello,
So it relates to the code in the View template, can you please share the code that you add to the View template? And share a screenshot of the setting box (Type, Location, Render for ...).
June 14, 2023 at 10:02 PM in reply to: Missing filter to allow devs to extend which screens to show on #42203Peter
ModeratorHello,
Thanks for your feedback. I will let our development team know about the filter hook and get back to you later.
Peter
ModeratorHello Yasmine,
I've informed our development team about this issue and they are working on it. I will let you know when I have any information.
-
AuthorPosts