• Hello!

    I make WP theme from scratch now and I use plugin “WP Hotel Booking”.

    Also i use Advanced Custom Fields (Version 5.8.6) and Advanced Custom Fields: Font Awesome (Version 3.1.1). I have made custom field and I add icon (Field Type – Font Awesome Icon). I am adding this custom field to custom post type ‘Service’. Then I make new service I can see drop-down that must opend with list of icons but it is not working. There is not list with icons.
    I see a error – “Uncaught Error: No select2/compat/dropdownCss(select2.min.js?ver=5.2.4:1)” in my new theme.

    If I deactivate this plugin “WP Hotel Booking” I can see list with icons and all working very good.

    Is it possible to do anything that list with icons from plugin “Advanced Custom Fields: Font Awesome” will work with your plugin?

    Thanks for your help

Viewing 1 replies (of 1 total)
  • Thread Starter vrpr

    (@vrpr)

    Hello
    Do you really need file select2.min.js?
    Then I closed next lines in file wp-hotel-booking.php:
    …..
    313 // select2
    314 //wp_register_script( ‘wp-admin-hotel-booking-select2’, $this->plugin_url( ‘assets/js/select2.min.js’ ) );
    ……
    369 // select2
    370 //wp_enqueue_script( ‘wp-admin-hotel-booking-select2’ );
    ……
    plugin “Advanced Custom Fields: Font Awesome” begin working very good – it become possible to see list with icons.

    And your plugin working good too without file select2.min.js. But I not testing your plugin very good.
    Mybe you will will look this possibility to delete file “select2.min.js”?
    Best wishes

Viewing 1 replies (of 1 total)
  • The topic ‘ACF: Font Awesome’ is closed to new replies.