Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
I'm afraid the
postfield can't get posts across your multisite. It usesWP_Queryto get posts, which has effect only on the current site.To resolve this, you need to make your own query and get the posts. Then use
select_advancedfield to show them.May 1, 2017 at 4:01 PM in reply to: is it possible run use meta-box and setting page generator from plugin? #5769Anh Tran
KeymasterProbably your plugin loads the file that contains
rwmb_meta_boxestoo late. Make sure to load it beforeinithook.Anh Tran
KeymasterHi FED, thanks for your feedback. I will update the code now.
Anh Tran
KeymasterI think you can try using JS to listen to the
changeevent of the select2 library (it's fired when you select a post). Then send an ajax request to get the post's custom fields and fill in other fields in the group.That's the only way I can think of for now.
Anh Tran
KeymasterNot sure what you want. Do you mean when changing the post field, another field is populated with it's post field (like post title, post date, etc.)?
Anh Tran
KeymasterHi,
I think you just need to run this code:
<?php echo eae_encode_emails( wp_kses( $secondarytext, $allowed_tags) ); ?>Anh Tran
KeymasterHi,
You can upgrade from the Core Bundle to Developer Bundle with only $100 and have full 1 year support + updates, counting from the day you upgrade (not from the day you purchased the Core Bundle).
April 21, 2017 at 1:37 PM in reply to: The WYSIWYG has white color in the content and missing the toolbar when repeating #5720Anh Tran
KeymasterAnh Tran
KeymasterI got it.
The problem is some fields are set to "Don't translate" mode.
Those fields won't be visible to enter the content. For more info, please check this topic.
Anh Tran
KeymasterHi,
Looks like the TinyMCE JavaScript doesn't auto detect the height of the editor when it's hidden (inside 2nd, 3rd tab). In this case, I'd suggest using
editor_heightoption for the editor instead oftextarea_rows, like this:'options' => array( 'editor_height' => 400 ),The value is the height of the editor in pixels.
Anh Tran
KeymasterYes, you can do that. Here is the sample code:
https://gist.github.com/rilwis/d6635c18cca81aaa4a593d4c178b456b
Anh Tran
KeymasterHi Claudia,
Sorry for the late reply. I'll check and fix it soon.
Anh Tran
KeymasterYes, the 2nd method is the way we use to update post meta. The latest version of MB Rest API extension requires the latest Meta Box version to work (as we use some new function from Meta Box).
Glad that you figured it out.
Anh Tran
KeymasterJust updated the extension to version 1.1 with Settings page as you suggested. I also added some filters that developers can "hide" the settings page. For more info, please see the docs page:
Anh Tran
KeymasterThanks. I'm looking into your changes and updating it.
-
AuthorPosts