Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi anja,
Please follow the instruction in the previous reply and the WPML documentation.
Anh Tran
KeymasterHi,
Is the
$prefix = propertyor_property?_propertymatches the actionrwmb__property_level_after_save_field(In this case,$field_idis_property_level).I see you are trying to copy values from old fields to new fields. Please note that, this action happens after field
_property_levelis saved. It doesn't guarantee that it happens before or after other fields are saved.Anh Tran
KeymasterHi Ale,
This depends on how you display custom fields' values in the front end. You need to change your code to check the post status, like this:
if ( post_password_required() ) { echo 'Nothing here'; } else { echo rwmb_meta( 'field_id' ); }December 12, 2018 at 4:45 PM in reply to: ✅Missing fields Yoast SEO after Metabox update to 4.15.8 #12613Anh Tran
KeymasterI have fixed that on Github. Can you please take a look?
December 12, 2018 at 4:44 PM in reply to: ✅Your main plugin "meta-box" ignore language settings in WP #12612Anh Tran
KeymasterYes, Meta Box is activated. See this video: http://recordit.co/oq6Wd5MABC
Maybe it relates to browser language, extension or other things. The plugin doesn't modify anything related to languages at all.
December 11, 2018 at 5:22 PM in reply to: ✅Your main plugin "meta-box" ignore language settings in WP #12595Anh Tran
KeymasterI've tried to install Czech language on my localhost and I don't see the quote changed. Check my screenshot: https://imgur.elightup.com/vQUhH3o.png
December 11, 2018 at 5:17 PM in reply to: Connecting a specific USER ROLE to a specific POST TYPE #12594Anh Tran
KeymasterHi Neil,
- The connection is available for all users. We do not have a way to control per user role yet.
- Yes, that's true. Just change the post type parameter.
December 11, 2018 at 1:36 PM in reply to: ✅Your main plugin "meta-box" ignore language settings in WP #12587Anh Tran
KeymasterHi Hazmi,
Where do you output the quote?
December 11, 2018 at 1:35 PM in reply to: ✅Missing fields Yoast SEO after Metabox update to 4.15.8 #12586Anh Tran
KeymasterHi,
Thanks a lot for your feedback. Looks like Yoast SEO adds its custom JS to the WordPress's libraries. I'll check and fix it.
Anh Tran
KeymasterHi kesit, we're updating the Group extension to fix that problem. Please wait a little bit.
Anh Tran
KeymasterHi Neil,
This snippet creates a shortcode to include the screenshot of a site. It works anywhere, with any plugin. What do you want to do with that?
Anh Tran
KeymasterHi,
Unfortunately, it's not available. Because it's kind of impossible to know when to increase the field value: when a page is edited or when a new post is created (and so on).
Anh Tran
KeymasterHi Aqib,
It's not available on .org yet. I need to improve it a little bit. At the moment, it's very basic.
December 8, 2018 at 10:55 PM in reply to: ✅Function to retrieve all post data from custom table #12557Anh Tran
KeymasterHi Jefferson,
To get all fields from custom table, you can do a simple query:
global $wpdb; $fields = $wpdb->get_row( "SELECT * FROM your_table WHERE ID={$post_id}" ); echo $fields->your_field;If you use the helper function to get a field value, it will create a very similar query and cache the result. So the next call to get another field's value, it won't create any extra DB query.
Anh Tran
KeymasterYes, that's the correct flow. It's useful whenever you want to do advanced things with code.
-
AuthorPosts