Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,086 through 2,100 (of 3,727 total)
  • Author
    Posts
  • in reply to: Label class wrapping my custom_html #43719
    PeterPeter
    Moderator

    Hello,

    I suggest you use the Inspect tool of the browser to check the HTML structure and create a correct CSS code https://developer.chrome.com/docs/devtools/open/

    If you want to target the label of custom HTML field, you can try this CSS selector:

    .rwmb-custom_html-wrapper label {
     ...
    }
    in reply to: View from relationship, one side not displaying anything #43715
    PeterPeter
    Moderator

    Hello,

    On the Award post, please change the relation side to to, like this

        'relationship': {
            'id': 'proyectos-y-premios',
            'to': post.ID,
         }

    that means get Project posts related to this Award post.

    in reply to: whats wrong with my validation? #43714
    PeterPeter
    Moderator

    Hello,

    We use the validation JS to validate the input value from the user. The group field works as a wrapper field and there isn't an input for this field. Also, it isn't possible to compare two current field values when submitting. It only takes one field value and sends it to the Ajax per field.

    If you want to compare two fields when submitting, please take a look at the Sanitization feature https://docs.metabox.io/sanitization/

    in reply to: Orders Page When WooCommerce HPOS Is Enabled #43713
    PeterPeter
    Moderator

    Hello Bryan,

    When enabling the HPOS feature, the order page works like a settings page and the data is synced to the custom table of WooCommerce so the field group won't display there. I will inform the development team to consider supporting this feature in future updates.

    in reply to: Custom taxonomy not showing terms on edit page #43712
    PeterPeter
    Moderator

    Hello,

    Please share your site credentials via this contact form https://metabox.io/contact/
    I will take a closer look.

    in reply to: Conditional logic #43706
    PeterPeter
    Moderator

    I'm sorry about that but I cannot check if the MB conditional logic works with all custom code you made on your site, it is beyond our scope of support.
    To reproduce the issue, please just create some simple fields and test it on the same page without the custom code as I mentioned above https://support.metabox.io/topic/conditional-logic/?swcfpc=1#post-43678

    in reply to: Custom taxonomy not showing terms on edit page #43705
    PeterPeter
    Moderator

    Hello Joe,

    Do you use a taxonomy field for the CPT "reps" on the same editing page? Also, please try to deactivate all plugins except Meta Box, MB extension plugins, switch to another theme and recheck this issue.

    in reply to: Meta Query - Elementor #43704
    PeterPeter
    Moderator

    Hello,

    It depends on your compare operator in the meta query. You can change the operator to greater like this:

    'key'     => 'slut_dato',
    'value'   => date( 'Y-m-d', current_time( 'timestamp' ) ),
    'compare' => '>=',

    Also, I see it works with the date format Y-m-d

    in reply to: Why is my taxonomies on the right empty? #43703
    PeterPeter
    Moderator

    Hello Mats,

    Can you please share some screenshots of the issue? Is the taxonomy box a custom field of Meta Box or a default box of WordPress?

    in reply to: whats wrong with my validation? #43700
    PeterPeter
    Moderator

    Hello,

    The remote validation will work when you type something to the field so it won't work with the group field. Also, please note that the remote validation does not work with the Block editor, it works with Classic editor only.
    You can test this feature again with your field title.

    in reply to: Hierarchical Post Type causes 404 #43690
    PeterPeter
    Moderator

    Hello Roel,

    Sorry if this is confusing for you. I mean creating a new CPT with a different slug and the same settings to see if it works.
    MB Custom Post Types and Taxonomies use the UI to create the CPT as you do when registering the CPT with code https://developer.wordpress.org/reference/functions/register_post_type/

    So I think it isn't an issue of Meta Box itself. You can try to deactivate all plugins except Meta Box, MB extension plugin, switch to a standard theme of WordPress and use the function flush_rewrite_rules() at the init hook to see if it helps.
    https://developer.wordpress.org/reference/functions/flush_rewrite_rules/

    Also, thanks for your support, Sridhar.

    in reply to: Conditional logic #43678
    PeterPeter
    Moderator

    Hello,

    Is that what you mean by nested? Yes, please check again when both fields current_selection or academicoutput are on the same page and not hidden by a custom JavaScript code (step in your case).
    FYI, the conditional logic of Meta Box also uses JavaScript to show/hide the field.

    in reply to: Hierarchical Post Type causes 404 #43675
    PeterPeter
    Moderator

    Hello Roel,

    You can try to deactivate the custom permalink plugin, re-save permalink settings (post name) or create a new CPT with the same settings to see how it goes.

    PeterPeter
    Moderator

    Hello,

    There isn't a tutorial for this case. If you are not able to complete the task, we offer a customization code for an extra fee. In that case, please contact us here https://metabox.io/contact/

    PeterPeter
    Moderator

    Hello Dave,

    Can you please give some examples/code of your case so I can understand the question better?

    If you want to create a block that shows a list of CPT, simply, you can use the callback function and add a custom query to show posts.
    https://docs.metabox.io/extensions/mb-blocks/#render_callback
    https://developer.wordpress.org/reference/classes/wp_query/

Viewing 15 posts - 2,086 through 2,100 (of 3,727 total)