Support Forum ยป User Profile

Forum Replies Created

Viewing 9 posts - 46 through 54 (of 54 total)
  • Author
    Posts
  • in reply to: Define Metas for certain role (Contributor) #5026
    JackkyJackky
    Participant

    Also you can use current_user_can() condition instead ๐Ÿ™‚

    in reply to: New plugin suggestion #4995
    JackkyJackky
    Participant

    No, not for only that reason. This is global custom class, that covers wp_ajax at all and simplify it, like your metabox class simplify classic way to make metaboxes. The lib, that I give you a link is unique, but nobody knows about this lib. Just test it and I wish it will inspire you to make more better ajax class and maybe create another metabox.io-sized project ๐Ÿ˜‰

    in reply to: Custom_html callback markup is broken #4994
    JackkyJackky
    Participant

    Give me an example please

    in reply to: Active Sticky Menu Via MetaBox #4963
    JackkyJackky
    Participant

    Yep, you can easily write simple jQuery code and enqueue it for admin.

    in reply to: Select advanced load remote data #4957
    JackkyJackky
    Participant

    Also I have realised, that I can make this with custom_html callback. But maybe it can be good idea, to make opportunity to use select_advanced?

    in reply to: Conditional logic + clonable group #4804
    JackkyJackky
    Participant

    Oh, I have just figured out, that taxanomy option, could be an array
    'taxonomy' => array('animators','servicies','costumes'),
    That solves my task in different way. Mark here https://metabox.io/docs/define-fields/#section-taxonomy that taxonomy could be an array or string.
    And take your look at the problem with js above. Think it's important.

    in reply to: Conditional logic + clonable group #4803
    JackkyJackky
    Participant

    Ok, thats worked better, but I don't like, that returned value in array had different second key, maybe there is a way to make id unique, but key equal? Also there still a small problem: when I clone the group, condition in the new clone doesn't work until I save the post (looks like it isn't in DOM).

    in reply to: Conditional logic + clonable group #4798
    JackkyJackky
    Participant

    When I changed 'field_type' to 'radio_list', it starts working, but only after I clone group, then save the page, and then I able to change condition in each created clone. But radio_list style is bad, I want to make it select or select_advanced.

    in reply to: Conditional logic + clonable group #4797
    JackkyJackky
    Participant

    Find out some interesting thing:
    If we change condition to
    'hidden' => array( 'front_cats[1][front_cat_type]', '!=', 'animator' )
    it will work for second clone only. So I just need to put something like php marker like front_cats[%s][front_cat_type] to make condition unique. How to do this?

Viewing 9 posts - 46 through 54 (of 54 total)