Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: By Post Field 'query args' with author #46535
    Kilian GötzKilian Götz
    Participant

    i use the shortcode for frontend submission where do i have to put your code if i still want to use the shortcode?

    in reply to: By Post Field 'query args' with author #46534
    Kilian GötzKilian Götz
    Participant

    Hey I got the same problem but I registered the Custom Field that contains the Post Field that I want to quary arg for the author = user with your MetaBox AIO Plugin and the GUI

    I dont know where i have to put those i register the metabox with your plugin

    Assume you have this code to register your meta box:

    add_filter( 'rwmb_meta_boxes', 'prefix_register_meta_boxes' );
    function prefix_register_meta_boxes( $meta_boxes ) {
    $meta_boxes[] = array(
    // Your meta box code goes here
    );
    }

    Then change it to:

    add_action( 'init', function() {
    add_filter( 'rwmb_meta_boxes', 'prefix_register_meta_boxes' );
    } );
    function prefix_register_meta_boxes( $meta_boxes ) {
    $meta_boxes[] = array(
    // Your meta box code goes here
    );
    }

Viewing 2 posts - 1 through 2 (of 2 total)