Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,831 through 1,845 (of 3,708 total)
  • Author
    Posts
  • in reply to: Events to Venues #11148
    Anh TranAnh Tran
    Keymaster

    Hi Neil,

    1 - Yes, you can add more relationships. Just repeat the code MB_Relationships_API::register.
    2 - To change the box title, please set the relationship info when you register it.

    I've written in details about that in the documentation. Please take a look.

    in reply to: using shortcode to display post title with link #11147
    Anh TranAnh Tran
    Keymaster

    When you select a field to connect, choose the Insert button, not Connect. That inserts a shortcode into the field. Then you can insert another shortcode, making them display inline.

    Please see this video:

    http://recordit.co/J2GDrpuays

    in reply to: Export / Import #11134
    Anh TranAnh Tran
    Keymaster

    In the all field groups screen, please select a field group and select Export from the dropdown, like this:

    https://imgur.elightup.com/0bm6TJ9.png

    in reply to: Export / Import #11129
    Anh TranAnh Tran
    Keymaster

    Hello,

    It's kind of impossible to revert the PHP code into MB Builder .dat file. Once you deleted the meta box in MB Builder, it's actually gone. If you want to edit, then please create it again.

    in reply to: Tabs Filterable Post Type #11123
    Anh TranAnh Tran
    Keymaster

    Hello,

    Yes, you can do that with Conditional Logic extension. Please see this tutorial.

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

    Hi Harrison,

    Can you please re-upload your code? I see only a text "Hey" in the link.

    in reply to: Radio Field - collapse class #11121
    Anh TranAnh Tran
    Keymaster

    Hi David,

    It's actually a CSS bug. The plugin uses collapse CSS class, which is too generic and conflicts with Bootstrap. I've fixed it in this commit.

    in reply to: Events to Venues #11120
    Anh TranAnh Tran
    Keymaster

    Yes, it possible. You just need to select the existing venues from the dropdown.

    in reply to: Display fields with confirmation notice #11118
    Anh TranAnh Tran
    Keymaster

    Hi Joseph,

    It's not possible at the moment. I'll add this feature to the next version.

    Thanks for the idea!

    in reply to: Events to Venues #11117
    Anh TranAnh Tran
    Keymaster

    Hi, it should be like this:

    add_action( 'mb_relationships_init', function() {
        MB_Relationships_API::register( array(
            'id'   => 'posts_to_posts',
            'from' => 'event', // Your event CPT
            'to'   => 'venue', // Your venue CPT
        ) );
    } );
    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?

Viewing 15 posts - 1,831 through 1,845 (of 3,708 total)