Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,861 through 1,875 (of 3,958 total)
  • Author
    Posts
  • in reply to: using shortcode to display post title with link #11116
    Anh TranAnh Tran
    Keymaster

    Hi,

    Beaver Themer already has shortcode to insert post title. See these screenshots:

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

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

    in reply to: Metaboxes searchable? #11115
    Anh TranAnh Tran
    Keymaster

    Hi Ale,

    There is a nice tutorial showing how to search WordPress by all custom fields. It requires some coding and works for all text fields.

    Or you can modify the query like this:

    add_action( 'pre_get_posts', function( $query ) {
        if ( is_admin() || ! $query->is_main_query() ) {
            return;
        }
        $query->set( 'meta_query', [
            'relation' => 'OR',
            [
                'key' => 'field_id1',
                'value' => '"' . get_search_query()  . '"',
                'compare' => 'LIKE'
            ],
            [
                'key' => 'field_id2',
                'value' => '"' . get_search_query()  . '"',
                'compare' => 'LIKE'
            ],
            [
                'key' => 'field_id2',
                'value' => '"' . get_search_query()  . '"',
                'compare' => 'LIKE'
            ]
        ] );
    } );
    in reply to: Wysiwyg in clonable group #11103
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've checked again and realized a change in the TinyMCE from WP. I pushed a fixed on Github. Can you please try and let me know how it goes?

    Anh TranAnh Tran
    Keymaster

    I see you're using Include Exclude extension. Can you check if these fields appear on that specific page template?

    in reply to: Wysiwyg in clonable group #11098
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi,

    WP auto saves the state of the editor and applies that to all editors when refresh the page. So if you switch to Text mode in one editor and then refresh the page, all editors will have Text mode active.

    Regarding the problem of both Visual and Text mode active, do you see any error is the console? Can you Ctrl-F5 to refresh the page with cache clear?

    in reply to: Front-end validation messages #11097
    Anh TranAnh Tran
    Keymaster

    Hi Jason,

    Please send me access to your site via contact form. I'll check that.

    in reply to: Font end image upload input not showing #11095
    Anh TranAnh Tran
    Keymaster

    Hi Harrison,

    Can you inspect the HTML of the field to see if the button is outputted? And please check the console if there's any error.

    in reply to: Front-end validation messages #11079
    Anh TranAnh Tran
    Keymaster

    Hi Jason,

    I understand that the validation doesn't work in the frontend. However, in a previous reply, I posted the "fixed" code and explained my change. Did you follow that?

    If it still doesn't work, please send me your code. I'll check it again.

    in reply to: New Google maps pricing policy and MB geolocation #11078
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    The OSM field is added in MB Builder 2.9.0. Please update.

    Cheers,
    Anh

    in reply to: Builder Questions #11077
    Anh TranAnh Tran
    Keymaster

    Hi Michael,

    The new version 2.9.0 of the Builder supports bulk editing field options for choice fields. Please update and see the video tutorial here:

    https://www.youtube.com/watch?v=cTsctgPbr-g

    in reply to: Custom table saving data in all custom tables #11063
    Anh TranAnh Tran
    Keymaster

    Hi Jason, let me check it.

    in reply to: Image Not Retained On Update #11062
    Anh TranAnh Tran
    Keymaster

    Hello,

    Do you see images displayed when you update the post? Sometimes it takes some seconds to fully load the images.

    in reply to: Front-end validation messages #11061
    Anh TranAnh Tran
    Keymaster

    Hi Jason, can you give me the updated code to register meta box to check again? Have you taken a look at my code?

    in reply to: My custom metabox stops working on WP 4.9.8 #11060
    Anh TranAnh Tran
    Keymaster

    Hi FED,

    Since 4.15, I've optimized the code for all "choice" field. I removed the filter_options function that is not needed. Can you check the source code of the choice field and try the latest version on Github?

    in reply to: Need more example to show like the demo #11059
    Anh TranAnh Tran
    Keymaster

    Hi, can you just try putting this code into your theme's functions.php file?

    add_action( 'mb_relationships_init', function() {
        MB_Relationships_API::register( array(
            'id'   => 'posts_to_pages',
            'from' => 'post',
            'to'   => 'page',
        ) );
    } );

    You'll see meta boxes "Connected From" and "Connects To" for posts and pages. It's the most basic usage.

    Please try it.

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