• I would like to use custom fields to include localized weather forecasting and conditions in my posts. I would like to be able to create a custom field called post-weather, which would take a value of location ID (zipcode) to display unique weather forecasts for my posts in the aside bar.

    The following post opens up this topic – but I am unclear how to implement!

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ll try and see if there is an easy solution for this over holiday. I need to do some reading on custom fields and figure out how to use them.

    Thread Starter indooryields

    (@indooryields)

    Thanks, Matt. I sent ya an email too. Enjoy your holidays – and don’t feel pressured to work this out for me! 🙂

    Sorry, I’m just now getting around to this. Hopefully not too late! I never got your email. Can you resend and then send me a screenshot or link to your site, so I can see where you’d like the weather info to go?

    Just committed a new version to support this.

    In your post, add a custom field titled weather with your location code for the value. In your theme, drag Weather Custom Field widget to the sidebar. This should display only for posts that have the custom field.

    Let me know if I need to add this functionality for pages as well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-weather plugin, custom fields for location’ is closed to new replies.