• Resolved alessandroximone

    (@alessandroximone)


    Hello, I would like to know if there is a way to add the weather widget inside a page without have to use a third-party plugin?
    Actually I’m doing it Meteo Torregrotta with “amr shortcode any widget”.
    There is any plugin shortcode?

    The page I need help with: [log in to see the link]

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

    (@tuxlog)

    Hi,

    yes, wp-forecast offers some shortcodes.
    The easiest way is

    [wpforecast id="A"]
    which will show location A in the post or page of your choice.

    There are some more parameters:

    [wpforecast id="A" lang="de_DE" width="300" height="500"]

    height and width give the size of the frame the weather is shown in.
    lang gives the language you want to use, if it is different from the language of your blog

    Thread Starter alessandroximone

    (@alessandroximone)

    Hello, i did some test here and i get a critical error

    Plugin Author tuxlog

    (@tuxlog)

    Can you have a look in your debug.log please and send the output.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode’ is closed to new replies.