Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tuxlog

    (@tuxlog)

    Hi,

    do you use it as a widget or iframe?

    Thread Starter Marcus

    (@marcuss)

    I use it as widget

    Plugin Author tuxlog

    (@tuxlog)

    Actually all styles should be placed in header. So WordPress doesn’t have a parameter for doing this in the wp_enqueue_style function.

    But if you really want to do it, there is a way.

    function prefix_add_footer_styles() {
        wp_enqueue_style( 'your-style-id', get_template_directory_uri() . '/stylesheets/somestyle.css' );
    };
    add_action( 'get_footer', 'prefix_add_footer_styles' );

    You have to change this for wp-forecast.php around
    wp_enqueue_style(“wp-forecast”, plugins_url($cssfilename, __FILE__) );

    I hope you have some PHP knowledge if not I can do it for you for a small donation.
    You can contact me via tuxlog.de

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loading wp-forecast-css in footer’ is closed to new replies.