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.
    https://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');

    alienpaul

    (@alienpaul)

    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 8 years ago by alienpaul.
    • This reply was modified 8 years 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.