Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,496 through 3,510 (of 3,704 total)
  • Author
    Posts
  • in reply to: if ( ! empty ) returning blank fields rather than else content #1805
    Anh TranAnh Tran
    Keymaster

    I see. Can you please update the Meta Box to 4.7.2 and Group to 1.0.3? The 1.0.3 version of Group has a fix for this.

    in reply to: Set Custom Image Size #1804
    Anh TranAnh Tran
    Keymaster

    Hi, the extension and the plugin Meta Box does not set image size. The helper function (in the example above) has a parameter to get custom size for image.

    Not sure what are you going to do with this, but why don't you just create new image size in your theme? It's something belong to theme's functionality.

    in reply to: if ( ! empty ) returning blank fields rather than else content #1789
    Anh TranAnh Tran
    Keymaster

    Which version of the Meta Box and Group are you using? There were some problems of the plugin and group which made them didn't save the value correctly. Can you please update to the latest version and see if it's resolved?

    If it's not, can you please post the code you setup the fields? Thanks.

    in reply to: Sorting handle overlaps field label #1788
    Anh TranAnh Tran
    Keymaster

    Hi, can you please post your code?

    in reply to: Error messages on admin after upgrade to 4.7 #1780
    Anh TranAnh Tran
    Keymaster

    Hi,

    This is just fixed. I will update the plugin today.

    in reply to: Character limit of 30 on inputs #1769
    Anh TranAnh Tran
    Keymaster

    The new version 4.7.1 fixes this bug. Please update.

    in reply to: Text Fields dont save (MB Group 1.0.2) (Meta Box 4.7) #1768
    Anh TranAnh Tran
    Keymaster

    That was my mistake :(. I forgot to update the data on the server. Everything seems fine now.

    Thanks!

    in reply to: Text Fields dont save (MB Group 1.0.2) (Meta Box 4.7) #1765
    Anh TranAnh Tran
    Keymaster

    Due to a change in Meta Box 4.7 with "attributes" param, the old code for Group doesn't work. I've just updated the extension to make it work with new version of Meta Box. Please update.

    Thanks for reporting.

    in reply to: Character limit of 30 on inputs #1764
    Anh TranAnh Tran
    Keymaster

    Hi, sorry for this stupid bug :(. There's a fix for it on github and I will update the plugin right now.

    in reply to: Media Edit #1755
    Anh TranAnh Tran
    Keymaster

    Glad that you made it ๐Ÿ™‚

    in reply to: Support for Term Meta in WP 4.4 #1754
    Anh TranAnh Tran
    Keymaster

    Yes! We've built an extension for term meta a month ago. While it was in the testing phase, we just received the news about term meta will be supported by WP in 4.4, so we have to change the code base to make it work with the new API. This extension will be released soon ๐Ÿ™‚

    in reply to: Media Edit #1740
    Anh TranAnh Tran
    Keymaster

    The rwmb_meta returns the value for current post. So the code above works only if you're viewing the attachment page. To make sure it works, you can provide the attachment ID as the 3rd param: rwmb_meta( 'sw_link', 'type=url', $attachment_id );

    in reply to: Shortcodes Not Outputting Fields #1735
    Anh TranAnh Tran
    Keymaster

    Can you please send me the admin account to check (via the contact page). If it's a bug from the plugin that we can't resolve fast, we will refund you.

    Thanks.

    in reply to: Retrieving thumbnail images #1730
    Anh TranAnh Tran
    Keymaster

    Hi,

    The file_input field store the URL of the image in the post meta, so if you use rwmb_meta() function, you will get the URL of the file.

    In case you want to use more sizes of the file, WordPress has a helper function to retrieve attachment ID from the URL attachment_url_to_postid(). The sample code looks like this:

    $speakergroup = rwmb_meta( 'cf_speakers' );
    foreach ( $speakergroup as $speakerdata ) {
      $attachment_id = attachment_url_to_postid( $speakerdata['cf_speakerpic'] );
      list( $src ) = wp_get_attachment_image_src( $attachment_id, 'thumbnail' );
      echo '<a href="' . $speakerdata['cf_speakerurl'] . '" target=_blank><img src="' . $src . '" class="circle wp-post-image"></a>';
    }
    Anh TranAnh Tran
    Keymaster

    Great that you have resolved this ๐Ÿ™‚

Viewing 15 posts - 3,496 through 3,510 (of 3,704 total)