Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,161 through 2,175 (of 3,958 total)
  • Author
    Posts
  • in reply to: any plans about adding post tags #9737
    Anh TranAnh Tran
    Keymaster

    Oh, that's a nice idea. Let me try it.

    in reply to: How to set the post title to my Name input field? #9736
    Anh TranAnh Tran
    Keymaster

    I've checked on your site and I see you created a field with ID post_title. But as it's a field in a meta box, it can't be a post field.

    To add post field, you need to change the shortcode to:

    [mb_frontend_form id="dominantgegevens,diensten" post_fields="title"]

    And the template for post title now works.

    Just a note: post fields (such as post title, editor, thumbnail, etc.) are not part of meta boxes, so you can't wrap it in tabs. They will appear above the tabs.

    Here is the screenshot of the page:

    http://prntscr.com/jmu4hs

    in reply to: Where to define the tooltip? #9735
    Anh TranAnh Tran
    Keymaster

    Hello,

    You can add tooltip via Custom Attributes. Please go to Advanced tab, click "+ Attribute" button under Custom Attributes and add key = 'tooltip', value = tooltip text. If you want to use a custom icon for tooltip, add 3 attributes:

    1. Key: tooltip.icon, value: dashicon icon or URL of the icon. See list of dashicons here https://developer.wordpress.org/resource/dashicons/
    2. Key: tooltip.content, value: the content of the tooltip
    3. Key: tooltip.position, value: left|right|top|bottom (one of them) to specify the position of the tooltip. It's optional.

    Please try it and let me know if you need any help further.

    in reply to: How to define Field type Image? #9672
    Anh TranAnh Tran
    Keymaster

    In the Builder, please select the “HTML image” field.

    in reply to: How to set the post title to my Name input field? #9671
    Anh TranAnh Tran
    Keymaster

    Yes, please send me a temporary account to [email protected]. I’ll check it.

    in reply to: How to set the post title to my Name input field? #9649
    Anh TranAnh Tran
    Keymaster

    I see you use the folder template-parts. It should be without it (probably you did it, but please try again), like in this screenshot:

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

    I've just tested and here is the result:

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

    in reply to: MB Revisions crashed site upon installation #9646
    Anh TranAnh Tran
    Keymaster

    No problem 🙂

    I've just sent you the refund. It's processed via Gumroad gateway, so you probably need to wait a little bit.

    If you need anything else from me, or you want to try Meta Box extensions, please let me know. I'm happy to help.

    Cheers

    in reply to: MB Revisions crashed site upon installation #9644
    Anh TranAnh Tran
    Keymaster

    That's totally fine. So you want a refund?

    in reply to: MB Revisions crashed site upon installation #9642
    Anh TranAnh Tran
    Keymaster

    Hello,

    Yes, this plugin requires Meta Box plugin. Please activate the Meta Box plugin and the error will go away.

    It works only with the custom fields created by the Meta Box plugin, not by Toolset or other custom fields plugin. Because we can use only the API provided by Meta Box to track the changes in the custom fields. Other plugins might don't have that API.

    Anh TranAnh Tran
    Keymaster

    Hello,

    Thanks for asking great questions:

    1) Can you please post a screenshot of the broken layout? And perhaps the code that you use to create fields?
    2) The submit button is for the whole form, so it's out of the tabs. To make it like switching tabs, I think the only way is using some custom JavaScript. Are you familiar with coding?
    3) You can hook to rwmb_frontend_after_process to run your own function which adds a product. Please see this docs for more info: https://docs.metabox.io/extensions/mb-frontend-submission/#form-actions

    Anh TranAnh Tran
    Keymaster

    Hi Alisha,

    Let me summarize your question: load a list of players based on the value of a team.

    I think it's not possible, because the list of players need to be queried against the database to get the list of posts. And that should be updated instantly when you change the home team value. Sorry, but I can't find a quick solution for this yet.

    in reply to: How to set the post title to my Name input field? #9635
    Anh TranAnh Tran
    Keymaster

    Hello,

    The post title is displayed in the post_fields attribute of the shortcode. Please use the MB Frontend Submission to add other fields to the form.

    In your situation, it sounds like changing the label for post title from "Post Title" to "Name".

    So, please create a folder in your theme called mb-frontend-submission. Inside that folder, create a sub-folder called post. And inside post, create a file title.php, which contains the following code (don't worry, just copy and paste):

    <?php
    $title = $data->post_id ? get_post_field( 'post_title', $data->post_id ) : '';
    $field = apply_filters( 'rwmb_frontend_post_title', array(
        'type' => 'text',
        'name' => esc_html__( 'Name', 'rwmb-frontend-submission' ),
        'id'   => 'post_title',
        'std'  => $title,
    ) );
    $field = RWMB_Field::call( 'normalize', $field );
    RWMB_Field::call( $field, 'admin_enqueue_scripts' );
    RWMB_Field::call( 'show', $field, false, $data->post_id );

    That's it!

    Please try and let me know how it works.

    in reply to: Order of multiple meta boxes on a page #9633
    Anh TranAnh Tran
    Keymaster

    Hello,

    When you reorder meta boxes in the edit screen, the order is saved in the user meta called meta-box-order_$posttype. So, to get that order, you need to run:

    $order = get_user_meta( get_current_user_id(), 'meta-box-order_yourposttype', true );
    var_dump( $order );

    See this answer on WPSE for some other info:

    https://wordpress.stackexchange.com/q/70204/2051

    in reply to: Loads options of select that depends of other select #9632
    Anh TranAnh Tran
    Keymaster

    Hi,

    This is very specific, so I think the only way to do that is via custom JavaScript.

    • You listen on "change" event of the parent select
    • Get the options' values you want to combine from 3 selects
    • Update the list of options of a select field.

    Without custom JavaScript, I can't think about another solution.

    in reply to: Can we create mutlistep form #9631
    Anh TranAnh Tran
    Keymaster

    Hi,

    Unfortunately, the plugin hasn't supported multiple steps yet :(.

Viewing 15 posts - 2,161 through 2,175 (of 3,958 total)