Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,046 through 3,060 (of 3,708 total)
  • Author
    Posts
  • in reply to: Include Only on Front Page #4097
    Anh TranAnh Tran
    Keymaster

    Hi,

    is_front_page() is a template function and I don't think it works in the backend.

    I suggest get the front page ID and check by page ID. To get the front page ID, just use get_option( 'page_on_front' ).

    in reply to: Meta Box extension updates and MainWP #4084
    Anh TranAnh Tran
    Keymaster

    I'm debugging :(. Another error appears and I have to fix it. I'm trying to do that as fast as possible.

    in reply to: Settings Page Undefined Error #4078
    Anh TranAnh Tran
    Keymaster

    It's fine :). If you see any error, please just let me know.

    in reply to: File Type Upload Error #4064
    Anh TranAnh Tran
    Keymaster

    FYI, the new version is released and it would have the fix for this bug.

    in reply to: Adding post meta to revisions #4063
    Anh TranAnh Tran
    Keymaster

    We have a ticket on this but haven't made any progress. We will try to do this. Let's tracking on Github.

    Anh TranAnh Tran
    Keymaster

    Hi,

    If you put the page template in a subfolder page-templates, you need to use 'include' => 'page-templates/name.php' instead of just name.php.

    in reply to: Cloneable group with WYSIWYG #4049
    Anh TranAnh Tran
    Keymaster

    Hi FED, the bug is complicated and I haven't found a good solution yet. I will let you know as soon as I find a way.

    Thanks
    Anh

    in reply to: Problem with metabox group #4042
    Anh TranAnh Tran
    Keymaster

    I've just fixed the bug and released new version. Please update and check it.

    Thanks
    Anh

    in reply to: Groups should be native functionality, not a premium extension #4040
    Anh TranAnh Tran
    Keymaster

    Yes, all of the methods above should work. The way we load Meta Box and extensions doesn't matter too much, because the Group extension is loaded on init hook and at that time Meta Box is already loaded.

    in reply to: Default values for cloned fields #4035
    Anh TranAnh Tran
    Keymaster

    You can set default values for cloned fields by assigning an array of values to std parameter.

    Assuming you have a cloned text field phones which store phone numbers. You can set default value like this:

    
    $default = array(
        '0123-456-789',
        '001-002-003',
    );
    
    // Then in your field
    array(
        'name'  => 'Phone numbers',
        'id'    => 'phones',
        'type'  => 'text',
        'clone' => true,
        'std'   => $default,
    )
    in reply to: Groups should be native functionality, not a premium extension #4034
    Anh TranAnh Tran
    Keymaster

    Hi Sam,

    Currently, I recommend using TGM Plugin Activation to include the extensions in a plugin or theme. It's safe and just works.

    But if you want to include it without listing it as an actual plugin, you can simply copy it into your theme/plugin and include the main file of the extension. It works in most cases, but sometimes there are compatibility troubles (not many). You should do this only when you really need.

    Regarding your question about the necessity of the Group extension: it's not always true. Most people and most premium themes only need simple solution for custom fields where the core free plugin is enough. I also make premium themes on ThemeForest and most of them only requires Meta Box. Group is helpful for (I guess) digital agencies where they create complex websites with complex data for their customers. I think you're one of them ๐Ÿ™‚

    in reply to: Problem with metabox group #4033
    Anh TranAnh Tran
    Keymaster

    I'm working on it. I probably will release a new version for Group tomorrow. Please wait.

    Thanks
    Anh

    in reply to: Meta Box extension updates and MainWP #4022
    Anh TranAnh Tran
    Keymaster

    Thank you very much. I've just got it. I will check it now.
    Anh

    in reply to: โœ…Wysiwyg fields and cloned sub group #4021
    Anh TranAnh Tran
    Keymaster

    Hi,

    Currently, wysiwyg can be put in the first level of group only. Putting it in a multi-level subgroup might break the cloning feature. If there's nothing special, I suggest using the textarea for that instead.

    Thanks
    Anh

    Anh TranAnh Tran
    Keymaster

    If the reinstalling fixes the bug, I guess somehow the installed version of MB plugins misses some files. That's strange, but can be.

Viewing 15 posts - 3,046 through 3,060 (of 3,708 total)