Support » Plugin: Weather Atlas Widget » City not showing

  • Resolved 77duda77

    (@77duda77)


    Salem, Oregon ~ USA is missing from the Location dropdown menu. It seems that the dropdown for city only goes to Salem ~ North Carolina, USA (2367393). Can this please be added?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Weather Atlas

    (@weatheratlas)

    Yes, that seems to be the the issue.

    We did not anticipate so many same-name locations.
    We’ll post here the city selector, so you can set the preffered location.

    Will you be posting it here?

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello 77duda77,

    sorry for the delay.

    Unfortunately, it’s a bit complicated to explain how to edit the installed widget to show more than 15 results in a dropdown.

    The easier way is to set the widget as a Custom HTML:
    Under available widgets choose Custom HTML and place the following shortcode for Salem, OH.
    [shortcode-weather-atlas city_selector=2374809]

    Style the widget, by adding options:

    city_selector=
    required

    unit_c_f=””
    default: “f”
    options: “f” / “c”

    layout=””
    default: “vertical”
    options: “vertical” / “horizontal”

    font_size=””
    default: “”
    options: “16px” / “12pt” / “1.2em” / “1rem” / “90%” etc.

    background_color=””
    default: “”
    options: “#8224e3” / “rgba(130,36,227,0.9)” etc.

    text_color=””
    default: “”
    options: “#fff” / “#fafafa” etc.

    style=””
    default: “”
    options: “float:right;width:200px” etc.

    header=””
    default: “”
    options: “my title…” etc.

    sunrise_sunset=
    default: 1
    options: 0 / 1

    current=
    default: 1
    options: 0 / 1

    hourly=
    default: 0
    options: 0 / 1 / 2 / 3 / 4 / 5

    daily=
    default: 3
    options: 0 / 1 / 2 / 3 / 4 / 5

    Example:
    [shortcode-weather-atlas city_selector=2372139 layout=”horizontal” background_color=”#8224e3″ daily=5]

    (excluded options load default values)

    This all works great but I need the shortcode for Salem, OR not OH.

    Plugin Author Weather Atlas

    (@weatheratlas)

    Sorry,

    Salem, OR: 2377771

    [shortcode-weather-atlas city_selector=2377771]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘City not showing’ is closed to new replies.