Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,436 through 3,450 (of 3,702 total)
  • Author
    Posts
  • in reply to: Checkbox checked by default #2183
    Anh TranAnh Tran
    Keymaster

    Yes, it is. You need to set the 'std' => 1.

    in reply to: Date options for shortcode #2174
    Anh TranAnh Tran
    Keymaster

    Hi,

    There is no options for date formatting. The value users set in the admin area when editing the post is the value you will get and show via the shortcode. If you want to change the format of the displayed date, you have to write the code yourself.

    in reply to: Are those fields saved ? #2173
    Anh TranAnh Tran
    Keymaster

    No, they aren't. These fields are used to show content in the meta boxes only.

    in reply to: What's the advantage of fieldset-text ? #2156
    Anh TranAnh Tran
    Keymaster

    This field type allows you to create a group of text fields. For example you want to store info of a book author with Name, Address, Email, you can define a field set text like in this demo. When getting value with rwmb_meta, you will receive an array( 'name' => '...', 'address' => '...', 'email' => '...' ).

    It's similar to group extension but less flexible.

    in reply to: Behavior when field is empty #2155
    Anh TranAnh Tran
    Keymaster

    Yes, if field is empty, then the meta is removed for that post to keep the database clean.

    in reply to: Post id within the register metabox #2154
    Anh TranAnh Tran
    Keymaster

    You can use this simple code:

    $post_id = isset( $_GET['post'] ) ? $_GET['post'] : ( isset( $_POST['post_ID'] ) ? $_POST['post_ID'] : false );

    in reply to: Include/Exclude for new/existing posts #2153
    Anh TranAnh Tran
    Keymaster

    Nice solution. This is not supported by the plugin by default and it's nice to know that can be solved with another solution.

    in reply to: The Metaboxes order #2140
    Anh TranAnh Tran
    Keymaster

    The order you register meta boxes is the order of them when you see. But if you have changed their order by drag and drop them manually, then that order will be saved and used in the future. In that case you need to reorder them manually again.

    in reply to: Help with Sections #2137
    Anh TranAnh Tran
    Keymaster

    I was able to test your full code with the FTP details you just sent. However, it looks right in my localhost:

    So strange :(. Can you check again, or please send me the URL of your website so I can have closer look?

    in reply to: Delete option not working #2135
    Anh TranAnh Tran
    Keymaster

    I got it. The problem is the total columns in the last row does not equal to 12. The last row has a hidden field, which has number of columns 2. Changing it to 12 fixes the bug.

    I have updated files via FTP, please take a look.

    in reply to: Settings page and mutlisite #2124
    Anh TranAnh Tran
    Keymaster

    Hi,

    Currently, it works for single sites in the Multisite. You can use it to add settings/options for a single site, not for the whole network.

    in reply to: std error when a field has no id #2115
    Anh TranAnh Tran
    Keymaster

    Hi again,

    Just looked into the code and tested with fields which don't need id attributes: heading, divider, custom_html and only custom_html uses std to output the HTML content of the field. These fields don't use meta value for anything, thus, the get_post_meta function is not used.

    I don't think there's a bug here, or am I misunderstanding you? Can you give more details on what you're trying to do?

    in reply to: undefined method RW_Meta_Box::has_been_saved() #2104
    Anh TranAnh Tran
    Keymaster

    That's it! The Group extension is outdated. Please update to the latest version :). The latest version has fix for this bug.

    in reply to: undefined method RW_Meta_Box::has_been_saved() #2102
    Anh TranAnh Tran
    Keymaster

    Hmm, can you please post full error message? I need that to see where the error comes from.

    in reply to: Help with Sections #2100
    Anh TranAnh Tran
    Keymaster

    Can you post your code? I guess the total of columns on some rows does not equal to 12, can you please check that (especially the last row)?

Viewing 15 posts - 3,436 through 3,450 (of 3,702 total)