Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterYes, please. That would be very helpful.
Anh Tran
KeymasterHmm, the code for loading languages haven't been touched for a long time. Can you check if all text are not translated or only some of them?
Also, can you try copying meta-box-nl_NL.po files from the plugin to '/wp-content/languages/plugins/' folder (please create if it doesn't exist) and see if it works?
Anh Tran
KeymasterHi Sergey Semenov,
The value stored by
image_advancedis attachment ID, so when you get them, you will receive an array of integers. (The helper function doesn't work pretty well for group at the moment and I will fix it soon so it can return more info of the image instead of just ID).In the meantime, please try this code:
<?php $group_value = rwmb_meta( 'rw_mygroup' ); foreach ( $group_value as $group_value ) { echo '<div> <div class="image"><img src="' . wp_get_attachment_image_url( $group_value['rw_img'], 'thumbnail' ) . '" /></div> <div>' . $group_value['rw_textfield1'] . '</div> <div>' . $group_value['rw_textfield2'] . '</div> <div>' . $group_value['rw_textfield3'] . '</div> </div>'; } ?>You can change the code to use different image size if you want.
Anh Tran
KeymasterCan you try the latest version on Github? It has a fix for edge case, when WP is installed at document root. Not sure if that's the problem you're facing. If it doesn't work, can you send me info of your site (admin account and FTP) to check via the Contact form?
Anh Tran
KeymasterGlad that it works for you. FYI: the rules are not applied for "default" page template as WP actually saves nothing to page info if it has default page template. So I think the "exclude" is the best approach here.
Anh Tran
KeymasterHi again,
Sorry for long response. I've just updated the extension to 1.0.0 which includes support for parent terms :).
Anh Tran
KeymasterHi all,
I've just updated the Updater extension which solves the problem. Please update it.
Anh Tran
KeymasterHi again,
I think I found the problem and fixed it here. The fix is available on Github. Can you please test it?
Anh Tran
KeymasterI understand. The problem that made me choose meta box for settings page is keeping the consistency in the code as they share the same API for meta boxes. This is also applied in some famous frameworks such as Genesis or Hybrid Theme.
Anyway, I will think more about using tabs/sections as another option (later). WordPress uses tabs/sections for its settings page, while using meta boxes for edit pages. This inconsistency of WordPress itself makes developers like us harder to make a good decision. Also the API WordPress offers for them are totally different which make things more inconsistent.
Anh Tran
KeymasterCan you post the code?
Anh Tran
KeymasterI see. I will check the updater plugin and the updating system. There might be an issue in the first check.
Anh Tran
KeymasterI couldn't read the error when updating. Can you tell me which one? Also, it works when you refresh the browser, doesn't it?
Anh Tran
KeymasterHi, I've just added this to Github [issue](https://github.com/rilwis/meta-box/issues/803) to keep tracking the development. We will work on this later. Please be patient.
Anh Tran
KeymasterCan you post the code to register meta boxes? I want to test that.
Thanks
Anh Tran
KeymasterHi Rik,
I think it's a good feature. However, do you think it will confuse user if they enable it for both default WP editor and WYSIWYG, or 2 WYSIWYG fields?
-
AuthorPosts