WordPress.org

Ready to get started?Download WordPress

Forums

Alfie WP Weather
[resolved] How to make alfie WP work (10 posts)

  1. epiric
    Member
    Posted 1 year ago #

    Hello! I am new to WP, and i want to use alfie widget. I placed it into plugins folder, activated it in WP dashboard, and draged it to sidebar.
    Now i dont know how to display alfie where i need it in header of my page?
    Can some help please. Ty

    http://wordpress.org/extend/plugins/alfie-wp-weather/

  2. appcuarium
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. epiric
    Member
    Posted 1 year ago #

    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.

  4. appcuarium
    Member
    Plugin Author

    Posted 1 year ago #

    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

  5. epiric
    Member
    Posted 1 year ago #

    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

  6. appcuarium
    Member
    Plugin Author

    Posted 1 year ago #

    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

  7. epiric
    Member
    Posted 1 year ago #

    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

  8. appcuarium
    Member
    Plugin Author

    Posted 1 year ago #

    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

  9. epiric
    Member
    Posted 1 year ago #

    cheers m8... working gre8! ;)

  10. appcuarium
    Member
    Plugin Author

    Posted 7 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.