Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterI see. You actually can "talk" with the reviewer. Not all rules are restricted. We at gretathemes.com also submitted some themes on wordpress.org and there were some issues that can't follow the rules. Here is an example (see how we explain to the reviewers).
Hope to see your themes soon.
Anh Tran
KeymasterHi Thomas,
You can change from closure / anonymous function to this:
add_filter( 'rwmb_outside_conditions', 'prefix_tab_conditions' ); function prefix_tab_conditions( $conditions ) { $conditions['.rwmb-tab-totalpress_featured_image_options'] = array( 'visible' => array('_thumbnail_id', '!=', '-1'), ); $conditions['.rwmb-tab-panel-totalpress_featured_image_options'] = array( 'visible' => array('_thumbnail_id', '!=', '-1'), ); return $conditions; } );In short, just move the part
function...down and add a name for it. Then alter theadd_filterfunction and use the new function name.Read more about anonymous function here.
January 22, 2018 at 10:11 AM in reply to: Prevent sortable nested group being able to be moved outside of its parent. #8283Anh Tran
KeymasterHi, I've fixed it on Github. Can you try it?
Anh Tran
KeymasterHi Jason,
We have been thinking about an way to let users define which data format is used for storing in the database. But we haven't done it because it might affect the existing data.
In your case, I think you can solve it with filters: before saving
rwmb_{$field_id}_valueand after retrieving field valuesrwmb_{$field_id}_field_meta.Anh Tran
KeymasterHi, it’s the next step. The first version hasn’t supported metadata for connections yet. We’ll work on that a little bit later.
Anh Tran
KeymasterHi Adam,
I'm working on it. Please wait.
Anh Tran
KeymasterI'm sorry, we haven't done it yet. We focused on making the relationship plugin (which has been released recently). We'll work on this next. Probably it takes 1 month to complete.
Anh Tran
KeymasterHi Todd,
What is the content of the
custom_htmlfield? Do you output non-well-formatted HTML?The tabs and columns heavily depends on the HTML structure of fields. Especially
$field['before']and$field['after']which are used to create columns. If your fields have something like that, please check it.If the problem still occurs, please post your code to pastebin.com or gist.github.com and give me the link here.
Anh Tran
KeymasterHi, have you tried clear browser cache to refresh the CSS?
Anh Tran
KeymasterHi David,
We have done the first version of the MB Relationships plugin. We hope that can solve your problem. Please try it and let me know if you need anything.
January 16, 2018 at 2:07 PM in reply to: ✅dont force 'column' field when Metab box column is active #8225Anh Tran
KeymasterFYI, I've just fixed this bug. Please update the extension.
Anh Tran
KeymasterPS: This question is transformed to a tutorial. Thanks @brkard for a great question.
January 15, 2018 at 11:43 AM in reply to: ✅dont force 'column' field when Metab box column is active #8213Anh Tran
KeymasterI got it. Thanks for your feedback. I will fix it.
Anh Tran
KeymasterHi, can you clear the browser cache and try again? The updated version has some changes in JavaScript and it requires clearing the cache to get the fresh version.
-
AuthorPosts