Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,446 through 2,460 (of 3,958 total)
  • Author
    Posts
  • in reply to: single image field abilty to save image url to database #8327
    Anh TranAnh Tran
    Keymaster

    Why do you want this? Using ID allows us to get other info of the image easily. Besides, you still can get the URL of the images.

    in reply to: showing multiple metaboxes on front end forms #8326
    Anh TranAnh Tran
    Keymaster

    Hi, we've just updated the extension with support for multiple meta boxes. Please update and let me know what you think.

    in reply to: add user meta to create user page #8324
    Anh TranAnh Tran
    Keymaster

    Hi, it's not possible at the moment. I'll make a note. Thanks for your suggestion.

    in reply to: help_tabs #8323
    Anh TranAnh Tran
    Keymaster

    Hi, the help tabs need to be defined like this:

    'help_tabs'   => array(
        array(
            'title'   => 'General',
            'content' => '<p>This tab displays the general information about the theme.</p>',
        ),
        array(
            'title'   => 'Homepage',
            'content' => '<p>This tab displays the instruction for setting up the homepage.</p>',
        ),
    )

    Then it will display like this:

    https://imgur.elightup.com/c7bIf3P.png

    I will update the docs. Thanks for your question!

    in reply to: Taxonomy Tree Placeholders #8305
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    For now there's no options for those placeholders.

    Anh TranAnh Tran
    Keymaster

    I tested with you code only:

    https://imgur.elightup.com/NQy6Ot9.png

    Here is how it works:

    https://imgur.com/a/KQfkA

    Anh TranAnh Tran
    Keymaster

    Have you cleared the browser cache? The fix is in JS and requires to clear cache to get the fresh version.

    in reply to: Flash of Unstyled Content #8300
    Anh TranAnh Tran
    Keymaster

    Hi,

    The script need to wait until DOM ready (like jQuery(document).ready()) to apply the conditions on elements. So, all elements must be loaded in order to run. I'm trying to optimize the JS part to make it runs faster to reduce the delay time.

    In the meantime, I think your CSS solution is good. CSS is loaded before JS and applied very early.

    in reply to: Taxonomy Advanced Vs Taxonomy #8299
    Anh TranAnh Tran
    Keymaster

    Hi,

    The similarity:

    - Both fields display terms to users to select.

    The difference:

    The only difference is how they store selected terms in the database:

    - taxonomy: doesn't store any terms in the post meta. Instead, it sets post terms. Think about it like a replacement of "Category" or "Tag" meta box of WordPress.
    - taxonomy_advanced: store terms' IDs in the post meta and doesn't set post terms.

    Hope it's clear.

    in reply to: Visibility functionality broken #8288
    Anh TranAnh Tran
    Keymaster

    Hi, I've just fixed this bug in version 1.5.5. Some of your select fields share the same part, which breaks the logic for select tree (supported in 1.5.2). The fix added a better check for select tree.

    Please test it.

    in reply to: Nested Clones Break #8286
    Anh TranAnh Tran
    Keymaster

    Hi Adam, I've just fixed it on Github. Can you test it?

    in reply to: Error with Theme Check Plugin #8285
    Anh TranAnh Tran
    Keymaster

    I 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.

    in reply to: Show A Specific Tab When A Feature Image is Added #8284
    Anh TranAnh Tran
    Keymaster

    Hi 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 the add_filter function and use the new function name.

    Read more about anonymous function here.

    Anh TranAnh Tran
    Keymaster

    Hi, I've fixed it on Github. Can you try it?

    in reply to: Custom Table Feature Request #8282
    Anh TranAnh Tran
    Keymaster

    Hi 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}_value and after retrieving field values rwmb_{$field_id}_field_meta.

Viewing 15 posts - 2,446 through 2,460 (of 3,958 total)