• Resolved Christee

    (@cgamron)


    I can’t find a way to have location_title displayed, but search hidden. Are these coupled together?

    I’m trying to make 2.x look similar 1.x, but this is one area that is preventing that.

    Example shortcode:
    [forecast location=”Florence, Oregon” location_title=”Weather Forecast for
    Florence, Oregon” iconset=”Contemporary” showdata=”highlow,daynames,icon,conditions” layout=”simple”]

    https://wordpress.org/plugins/wunderground/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Zack Katz

    (@katzwebdesign)

    If you add hidedata="search", it should hide the search.

    [forecast location="Florence, Oregon" location_title="Weather Forecast for
    Florence, Oregon" iconset="Contemporary" showdata="highlow,daynames,icon,conditions" layout="simple" hidedata="search"]
    Thread Starter Christee

    (@cgamron)

    Hi Zack,
    Thanks for the response, but that does not solve it. The only way to get the location_title displayed is to showdata search. The two appear coupled together.

    I noticed the only template file that uses location_title is search_form.html, so it seems that is why this does not work.

    Plugin Author Zack Katz

    (@katzwebdesign)

    Ah, yes, that’s true. I suppose you could just hide the search and add a <h3> tag above the shortcode?

    Thread Starter Christee

    (@cgamron)

    True enough. I prefer to not have high/low labels either (it’s obvious), so I made my own template and incorporated both changes.

    Thanks for the good plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘search and title’ is closed to new replies.