WordPress show_admin_bar disabled and remove icons missing

Support MB Frontend Submission WordPress show_admin_bar disabled and remove icons missing

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #44933
    Nicholas CoxNicholas Cox
    Participant

    Hi

    When I use the wordpress filter to disable the front end admin bar add_filter('show_admin_bar', '__return_false');

    the icons for the clone field e.g. dashicons-dismiss in metabox form is not loaded as the admin bar is diabled. Is there a way to have a fallback icon for metabox forms with admin bar disabled?

    <a href="#" class="rwmb-button remove-clone"><span class="dashicons dashicons-dismiss"></span></a>

    thanks

    Nick

    #44934
    Nicholas CoxNicholas Cox
    Participant

    also just realised after posting that if the forms are loaded when the user is not signed in then there are no delete icons next to the clone fields.

    #44958
    PeterPeter
    Moderator

    Hello Nick,

    Using the code to remove the admin bar, I don't see the remove clone icon is disabled. It is still there, even checked with a visitor (non-logged-in user). It is only displayed when there are at least two clone fields. Screenshot https://imgur.com/YxSg8VV

    #44962
    Nicholas CoxNicholas Cox
    Participant

    Ok I this is a screenshot of a test form with me manually adding and removing cloned groups of a field and im not signed into wordpress https://prnt.sc/yM1FvObQWNvx

    using
    echo do_shortcode('[mb_frontend_form id="dc-product-basket" submit_button="Update Basket" ajax="true"]');

    #44969
    PeterPeter
    Moderator

    If you use the cloneable group, there will be a text "Remove" when hovering over the group title instead of the remove icon, screenshot https://imgur.com/9RLfXkS

    #44970
    Nicholas CoxNicholas Cox
    Participant

    yes i understand but you can see from my screenshot https://imgur.com/YxSg8VV that there is a remove clone icon button (it works when i click on it) there is just no icon image being loaded? or are you saying this is deliberately been hidden as its a group clone? but what happens when i specify no title (as per the screenshot) then what happens to the label?

    #44971
    Nicholas CoxNicholas Cox
    Participant

    ooops wrong link, this is the screenshot https://prnt.sc/yM1FvObQWNvx

    #44984
    PeterPeter
    Moderator

    Hello,

    are you saying this is deliberately been hidden as its a group clone?

    Yes, with the cloneable group, the icon won't display. Instead, the text "Remove" will display when you hover over the group title. Please share a screenshot or a screen record when you hover over the title.

    #44998
    Nicholas CoxNicholas Cox
    Participant

    yes with cloneable group you can see from the screenshot that i do not see the text 'remove' and also the clone button is active (no icon) but you can still hover over it and click it. I was originally not aware when posting this query that the icon was hidden for cloned groups.

    So to confirm i dont have either the icon or 'remove' text?

    thanks

    #45007
    PeterPeter
    Moderator

    If you don't see the "Remove" text in the cloneable group title, please try to deactivate all plugins except Meta Box, MB extension plugins and switch to a standard theme of WordPress then check the issue again.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.