Front End Forms and Dashicons

Support MB Frontend Submission Front End Forms and Dashicons

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

    Hi

    I have been creating a front end form using tabs and group extensions, i found that the dashicons were not loading for groups or tabs as the css file were not being loaded on the front end of the site (by default in WordPress). So had to add in the wp_enqueue_style( 'dashicons' )

    I assume this was missed from the tutorials? e.g. https://docs.metabox.io/extensions/meta-box-tabs/

    Just letting you know so others who may have the issue are aware thanks, it would be great not to have to load this and is enabled when using front end forms extension by default.

    #46957
    PeterPeter
    Moderator

    Hello Nick,

    The group field doesn't have the dashicon option. For the tab, the dashicons are displayed in the frontend on my demo site as well without enqueueing the dashicon style, see this screenshot https://imgur.com/ePLxJeb
    Do you use a third-party plugin or some custom code that removes the dashicon style so the icons are not displayed in the frontend?

    #46964
    Nicholas CoxNicholas Cox
    Participant

    Hi

    Ok thats fine if it will only work for the tabs extension. I was under the impression that Dashicons are not loaded by default in WordPress as several forums mention this (link below) so makes me wonder why you are seeing the icons on the front end and i am not without enabling them with wp_enqueue_style( 'dashicons' ). Does your theme load them? just really letting you know as others may have this issue.

    https://www.hostinger.co.uk/tutorials/wordpress-dashicons

    #46966
    Nicholas CoxNicholas Cox
    Participant

    also forgot to mention, no i have just metabox plugin installed and a default wordpress blank theme so nothing is disabling the dashicons from what i can see.

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