Support » Plugin: DWL Preloader » loader-wrapper ist placed in HTML head

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chekka

    (@chekka)

    btw. the loader is placed in head at your demo page too.
    http://theforu.byethost7.com/

    Thread Starter chekka

    (@chekka)

    just change
    add_action ('wp_enqueue_scripts', 'dwl_preloader_markup');
    at line 30 in dwl_preloader.php
    to
    add_action ('wp_footer', 'dwl_preloader_markup');

    I think the better way to put code in theme’s functions.php file. Like that:

    remove_action ('wp_enqueue_scripts', 'dwl_preloader_markup');
    add_action ('wp_footer', 'dwl_preloader_markup');
    • This reply was modified 5 years, 2 months ago by alienpaul.
    • This reply was modified 5 years, 2 months ago by alienpaul.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘loader-wrapper ist placed in HTML head’ is closed to new replies.