Support » Plugin: Alfie WP Weather » How to make alfie WP work

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author appcuarium

    (@appcuarium)

    Hi,

    You can use WordPress’s do_shortcode() function to accomplish what you’re looking for.

    Simply add in your code, there where you want the widget to show the following:

    <?php echo do_shortcode('[alfie_wp_weather]'); ?>

    You can find a full list of Alfie WP Weather available shortcode options in readme.txt, inside plugin’s folder.

    Regards.
    The Alfie Team

    Thread Starter junior

    (@epiric)

    thanx. i tried putting that in my header where i need that widget but its not showing anything.. when i put it in sidebar.php the it just says local weather and thats it.. ill try to figure out whats wrong somehow.

    Plugin Author appcuarium

    (@appcuarium)

    Hi there,

    If you could paste a link to a page with the shortcode/widget installed, we could help you fix the issue with the widget not showing.

    Regards.
    The Alfie Team

    Thread Starter junior

    (@epiric)

    hello there.. sorry for late reply.. i just moved site to live server.. its not finished yet tho..http://scatola.hr/opcina/ its in header.php.. this what is displayed is just image from design for now.. there should be alfie weather. ty

    Plugin Author appcuarium

    (@appcuarium)

    Hi there,

    You are running jQuery 1.4.4, Alfie WP Weather needs at least version 1.8.3 in order to work. Make sure you’re loading the latest jQuery version, it should work just fine.

    Regards.
    The Alfie Team

    Thread Starter junior

    (@epiric)

    Hey m8… really thanx… i installed widget to upgrade jquery and its working now. Only one last question, and we can close topic… I tryed to change options in widget area (woeid etc..) and its not working that way… i save changes but they dont reflect on widget. So i tryed to see in php files… changed location, thats ok now.. but i need only to leave image and temperature, if i change from true to false for (shortcode.php)items…it blocks entire addon… how can i remove everyting except temp and image then? :S thnx alot

    Plugin Author appcuarium

    (@appcuarium)

    Hi again,

    The shortcode enables all options by default. In order to disable an option, you must pass 0 as value, like it’s explained in readme.txt

    To remove everything except temperature and image, the shortcode should look like this:

    [alfie_wp_weather woeid="put_here_the_WOEID" country=0 condition=0 units="c" highlow=0 wind=0 humidity=0 visibility=0 sunrise=0 sunset=0 forecast=0 credits=0]

    Hope it solves your issue.

    Regards.
    The Alfie Team

    Thread Starter junior

    (@epiric)

    cheers m8… working gre8! 😉

    Plugin Author appcuarium

    (@appcuarium)

    Hi,

    The problem with your installation is related to your server configuration. The solution is described here -> http://wordpress.org/support/topic/widget-only-displaying-title

    Hope it helps.

    Best regards.
    The Alfie Team

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to make alfie WP work’ is closed to new replies.