Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1419457

    mennobouma
    Participant

    Hi Themeco,

    I would like to remove / dequeue / deregister Font Awesome in X, because i would like to use my own FA files and i don’t want to load it twice..

    I’m using Integrity Light on X 4.6.4.

    Any idea how to solve this?

    Thanks, Menno

    #1419497

    Rahul
    Moderator

    Hello,

    You can achieve the result by using dequeue and deregister handle that font-awesome css/js and then enqueue and register your file with same handle, in your functions.php.

    Functions to use.

    1. Dequeueing script : wp_dequeue_script()
    2. Deregister script : wp_deregister_script()
    3. Registering script :wp_register_script()
    4. Enqueueing script : wp_enqueue_script()

    Let me