• Resolved samchief

    (@samchief)


    Hello, great work here.
    I have used cmb in my plugin to created a custom post type
    with pretty meta fields that have quite long sections.
    Each logged in user fills a respective section of fields

    ...
    array(
    'name' => __( 'FOR JUNIOR SCHOOL', 'cmb' ),
    'id' => $prefix . 'jnr_title',
    'type' => 'title',
    // 'repeatable' => true,
    ),
    ... fields to be filled(pretty long) ...
    
    array(
    'name' => __( 'FOR SENIOR SCHOOL', 'cmb' ),
    'id' => $prefix . 'snr_title',
    'type' => 'title',
    // 'repeatable' => true,
    ),
    ... fields to be filled (pretty long)...

    It works fine, but its a pain for users who have to scroll all the way down to fill lower level fields(senior school, not to mention when they need to make changes).
    How can I create a link(probably a cmb field) at the top or beginning area of the fields that links to respective sections.
    Thought ‘type’ => ‘text_url’ could work out, but just couldn’t seem to find a way around it.
    Thanks for your help.

    https://wordpress.org/plugins/cmb2/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Link to a field section’ is closed to new replies.