This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Search form vanished after WP 3.6 update

  • Creator
    Topic
  • #10118
    mike-se
    Participant

    Hi Jason!

    I have placed a search field in the nav menu on one of my sites using the add_action hook:

    add_action('themeblvd_header_menu_addon', 'get_search_form');

    After update to WP 3.6 it vanished and I can’t seem to figure out what the problem might be.

    Any help much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #10133
    Jason Bobich
    Keymaster

    I did a quick Google search on this, and it looks like others are having the same general issue with the get_search_form() function, after updating to WP 3.6.

    I’m looking at the updates they made to the function, and I’m honestly not sure why your line isn’t working, but here’s another way to do the same thing, which is working on my end.

    function my_header_menu_addon() {
    	get_search_form();
    }
    add_action('themeblvd_header_menu_addon', 'my_header_menu_addon');
    #10136
    mike-se
    Participant

    Yeah, I saw some discussions on this as well.

    Thanks, that worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.