Weather Layer
Not Quite (2 posts)

  1. guitarjosh
    Posted 2 years ago #

    The shortcode for the sidebar doesn't work.. just shows the code in my blog. Also a star deduction for making the linkback so big and required. Don't mind a linkback to the developers site but work it in more elegantly.

  2. MorganF
    Plugin Author

    Posted 2 years ago #

    Hi guitarjosh, did you try to use the "do_shortcode" WordPress function ?

    Otherwise, here is a way to call the plugin with PHP :

    $plugins = get_option('active_plugins');
    if (in_array('weather-layer/weather-layer.php', $plugins)) :
       $args = array
          'country' => 'France',
          'city'  => 'Paris',
          'display' => 'vertical'
       echo weather_layer_getWeatherLayer ($args);

    Btw, about the backlink, the plugin was initially developed for blogovoyage.fr only, but I've decided to share it with WP community. That's the reason why it is so "visible".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.