Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,861 through 1,875 (of 3,702 total)
  • Author
    Posts
  • in reply to: Font end image upload input not showing #10997
    Anh TranAnh Tran
    Keymaster

    Hi Harrison,

    This problem is the same as in MB Frontend Submission. To understand and resolve it, please read this docs.

    in reply to: Value of unchecked checkboxes/switches #10996
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi,

    The statement is correct. However, I missed the code for switch field. The checkbox field works correctly. I've just push the fixes for the switch on Github.

    in reply to: Can't get Meta Box Custom Table to work #10995
    Anh TranAnh Tran
    Keymaster

    Yes, it's safe. In the code above, there's no code to remove the data. So it always there.

    You should always backup the database before doing this.

    in reply to: WYSIWYG without p but with br #10989
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    The fields uses either <p> or no tags at all. It doesn't use only <br> tag.

    I've just tested with Themer's text module and it seems to always output <p> tag, no matter what the data is. I'm wondering why don't you use the <p> tag.

    in reply to: Help with Background Field #10988
    Anh TranAnh Tran
    Keymaster

    Hi Thomas, here is the video tutorial:

    https://youtu.be/NFZE4Sxi2p4

    Please pay attention to the text I wrote in the video :).

    Hope you like it.
    Anh

    in reply to: Display multiple items on the map? #10981
    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    It's great to see you done that. I'd love you to contribute to the osm-frontend.js file. It's used in the frontend. Maybe just make it works with array of locations.

    in reply to: Image Advanced Warning #10980
    Anh TranAnh Tran
    Keymaster

    Hi Thomas,

    I think the problem is where you put the code that gets the image. For the template that doesn't have header background, you should perform a simple check like this:

    $images = rwmb_meta(...);
    if ( $images ) {
        $image = reset( $images );
        echo $image;
    }
    in reply to: Log Out #10979
    Anh TranAnh Tran
    Keymaster

    Hi, Thomas. I hide the logout link, cause it's not really useful. Do you really need it? I can put it in the Quick Links section if you want.

    in reply to: Help with Background Field #10965
    Anh TranAnh Tran
    Keymaster

    Hi Thomas,

    I'll create a tutorial and video to demonstrate how those helper functions work and what is the difference between them. Please wait a little.

    Thanks,
    Anh

    in reply to: Composer update, nothing to update? #10964
    Anh TranAnh Tran
    Keymaster

    I think so. I did the same for Meta Box AIO (remove the vendor folder, clear cache and re-install).

    Anh TranAnh Tran
    Keymaster

    Hi Marge,

    Your code seems okay to me. You don't need anything else except Meta Box + the Integrator. Let me check it again and get back to you soon.

    in reply to: Conditional Logic and Gutenberg #10961
    Anh TranAnh Tran
    Keymaster

    Hi DrecDroiD,

    Gutenberg affects all plugins. In this case, both Conditional Logic and Show/Hide are affected.

    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    We're working on the Geolocation to make it work with OSM. When it's done, you can bind data to fields.

    Regarding the language, this is sadly the way it handles language. There's no way to change that :(. It shows language of the current being viewed country. You can see it on its homepage https://osm.org.

    in reply to: Display multiple items on the map? #10958
    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    Unfortunately, it's not possible at the moment. There were some users asked for the same thing and it's on our plan.

    Best,
    Anh

    in reply to: Disabling submit button in option page #10923
    Anh TranAnh Tran
    Keymaster

    Hi Bezzo,

    You can easily hide the submit button with CSS.

    This code below lets you enqueue a CSS file for the settings page:

    add_action( 'admin_enqueue_scripts', function() {
        $screen = get_current_screen();
        if ( 'your-screen-id' == $screen->id ) {
            wp_enqueue_style( 'your-file', 'http://url-to-your.css' );
        }
    } );

    To get the screen ID of the settings page, you can use the Inspector plugin. The screen ID is shown in the "Help" tab, like this:

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

    In your CSS file, you can simply enter this:

    .wrap .submit { display: none; }

    If the process above is complicated, you can use a "quick and dirty" tip below:

    When you register a meta box for the settings page, add a custom_html field like this:

    $meta_boxes[] = [
        // Other fields
        [
            'type' => 'custom_html',
            'std' => '<style>.wrap .submit { display: none; }</style>',
        ]
    ];

    It will output the <style> to the page and hide the submit button.

Viewing 15 posts - 1,861 through 1,875 (of 3,702 total)