Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterPlease go to Dashboards -> Updates and check for updates. You'll see AIO available. Just update it as normal plugins.
Regarding the settings pages, there's no menu item for it. The screenshot shows the Meta Box menu correctly.
Anh Tran
KeymasterHi,
That action doesn't fire for login form, because the form doesn't need to create or update user info.
The login form users WordPress's function
wpsignonto log user in. And it auto checks the email address. I wonder the use case that you manually check for email exists. Is that really needed?Anh Tran
KeymasterCan you please try again? The update for AIO comes a little bit later.
Anh Tran
KeymasterHello,
Did you set the correct
idattribute for the form shortcode?Anh Tran
KeymasterHello,
I've created a test using your code and here is the video: http://recordit.co/nGs41cchuS. It seems to work for me. Am I missing anything?
Anh Tran
KeymasterThanks a lot for your info. I've found the bug and updated the extension. Please update it to the latest version.
Anh Tran
KeymasterHi, I've just added your code of the settings page to my localhost and it shows in the Builder. Here is the screenshot:
https://imgur.elightup.com/KKuYpfL.png
Perhaps there's something else?
Anh Tran
KeymasterCan you send me the code that registers settings pages? Is it wrapped inside any hook (like 'init')?
Anh Tran
KeymasterI got it. Did you select settings page in the Settings tab of the Builder, like this?
Anh Tran
KeymasterHi lukeragno,
I've tested your code and couldn't detect the problem. It works fine to me. I recorded the video here: http://recordit.co/MrzQxy3BD0
PS: After debug Max's code, I found a problem is the custom post type was registered too early, before all the "init" hook, where Meta Box starts. So, that's might be the problem. I recommend checking the code again, make sure it looks like
add_action( 'init', 'my_register_post_type' );Anh Tran
KeymasterHi,
Thanks a lot for your comment! I've fixed the bug in the latest version. Please update.
Anh Tran
KeymasterI'm confused about "regular site page". The plugins allows you to:
- Create a settings page
- Create meta boxes and fields for that settings page
Both the steps requires you to put code within functions.php or plugin file. If you use MB Builder, then the Builder can help you do the 2nd step without copy and paste the code into functions.php file.
Anh Tran
KeymasterHi,
The settings page must be created using the method the plugin provides. The settings pages that created using normal Settings API are not supported. Because we can't hook into those settings page and show custom fields there.
Please follow this instruction to create settings pages. It's very similar to Settings API.
Anh Tran
KeymasterHi kesit,
You need to write custom code to move the data from custom fields to custom table. Here is a sample code:
$post_id = 1; $fields = ['field_1', 'field_2']; $table = 'your_custom_table'; $row = ['ID' => $post_id]; foreach ( $fields as $field ) { $row[$field] = get_post_meta( $post_id, $field, true ); } global $wpdb; $wpdb->insert( $table, $row ); -
AuthorPosts