Title: Shortcode not working
Last modified: January 25, 2017

---

# Shortcode not working

 *  Resolved [durhamight](https://wordpress.org/support/users/durhamight/)
 * (@durhamight)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-186/)
 * Code I’m using is [wpforecast id=”A”]
 * Error I’m getting is:
 * Sorry, no valid weather data available.
    Please try again later.
 * Works fine as a widget, but my implementation requires shortcode. Any ideas? 
   I really just want to display the icon and temperature.
 * Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-8771057)
 * Mhm, this is unusual becaue the widget and shortcode use the same data from the
   database.
    Do you get any error messages in the WordPress logs?
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9129512)
 * seems to resolved
 *  [symait](https://wordpress.org/support/users/symait/)
 * (@symait)
 * [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9172951)
 * I have the same issue 🙁
    shortcode used [wpforecast id=”A”]
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9173918)
 * Can you give the location ysou are using please?
 *  [symait](https://wordpress.org/support/users/symait/)
 * (@symait)
 * [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9177233)
 * this is a test environment !
    [http://hotellesbruyeres.syma-itsolutions.com/contact-pagina/](http://hotellesbruyeres.syma-itsolutions.com/contact-pagina/)
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9178505)
 * This just drived me crazy. But I guess I have an idea what the reason can be.
 * Can you please check two things:
 * 1. Check if you use the correct quotes around A. (shift+2, “)
    2. Check if you
   use [ and not the HTML-entity of [ (go to textmode and enter the shortcode if
   in doubt)
 * Any change?
    -  This reply was modified 9 years ago by [tuxlog](https://wordpress.org/support/users/tuxlog/).
 *  [symait](https://wordpress.org/support/users/symait/)
 * (@symait)
 * [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9179261)
 * Solved!
    It were the double quotes! I used copy-paste to put in the shortcode
   and changing those manually solved my problem
 * Thanks for the support!
    Patrick

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Shortcode not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-forecast/assets/icon-128x128.png?rev=1515240)
 * [wp-forecast](https://wordpress.org/plugins/wp-forecast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-forecast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-forecast/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-forecast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-forecast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-forecast/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [symait](https://wordpress.org/support/users/symait/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/shortcode-not-working-186/#post-9179261)
 * Status: resolved