Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26518

    I have a currency changing widget and would like it to live in the header of my page where the search bar is. I dont need the search bar so could happily replace it, and the widget would take up the same space as it is a dropdown menu.

    Could anybody tell me what code i might have to change in the templates to get this to happen.

    Thank you

    Sidra

    baileyandjames.com

    #130712

    Hi Sidra,

    Its pretty straight forward if you are familiar with wordpress and coding for it but a good beyond being able to walk you through it via support. The basics of it are you’ll be registering a new widget area (same thing as a sidebar) with a function and then adding the widget area to be output in your header in place of the search.

    Then you re-style the div as needed to still work for desktop, tablet and mobile. See: http://codex.wordpress.org/Function_Reference/register_sidebar

    Regards,

    Devin

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Replace search bar in header with widget’ is closed to new replies.