Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,691 through 3,705 (of 3,958 total)
  • Author
    Posts
  • 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 ๐Ÿ™‚

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

    Did you put it in the post content? The shortcode shows value only if you put it in the post content (or where it's rendered).

    If you put it in another place like theme's files, you should use:

    <?php echo '[rwmb_meta meta_key="image3"][/rwmb_meta]'; ?>

    in reply to: Tabs are not displaying #1720
    Anh TranAnh Tran
    Keymaster

    Can you please post your code?

    in reply to: Similar ID not work in different meta boxes and page templates #1719
    Anh TranAnh Tran
    Keymaster

    Hi Saquib,

    The Show/Hide extension doesn't remove the input from the edit screen. It only toggles the input using CSS. That means both the inputs are there and that makes the browser users the latest value to send to PHP.

    In this case, I suggest you use the Include/Exclude extension. This extension works similar to the Show/Hide, but it removes the input completely from the screen (if it's not included).

    The other way is using different ID and then you can add a simple condition in the frontend to get the correct meta value.

    Hope that helps.

    in reply to: Unable to View Uploaded Image Without Changing Filter #1718
    Anh TranAnh Tran
    Keymaster

    Hi Saquib,

    Thanks for reporting this bug. This bug happens since version 4.6 due to the change in the JS code of the "image_advanced" field. It was reported in [Github](https://github.com/rilwis/meta-box/issues/678) and [here](https://support.metabox.io/topic/image-uploads-not-working/). We're working on this, please be patient.

    in reply to: Metabox in widget? #1717
    Anh TranAnh Tran
    Keymaster

    Hi kleis,

    Currently it's not supported. We have a plan to develop this.

    in reply to: Getting Errors On Site When #1716
    Anh TranAnh Tran
    Keymaster

    Hi, can you please export that meta box and send me to email: [email protected]?

    in reply to: relation => 'AND' is not working. #1705
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just updated the extension with the fix for this bug. Please update it.

    Thanks.

    Anh TranAnh Tran
    Keymaster

    Hi,

    Sorry for this late reply. I think it's possible if you want to combine 2 values only when querying the database using raw MySQL query. But if you want to combine them in another way or somehow (I'm not sure what you want exactly), then maybe you need to write a custom script to check and re-add a new meta value for each post.

    in reply to: Dutch language #1702
    Anh TranAnh Tran
    Keymaster

    That's so great. Thank you very much!

Viewing 15 posts - 3,691 through 3,705 (of 3,958 total)