• Resolved warpenss

    (@warpenss)


    Hello. How can I add my phone number directly under search bar in header?
    I know how to add it under logo with hook, but I can’t find a hook for search bar.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    There is no hook for it. You need to modify the header template using the OceanWP child theme.

    Thread Starter warpenss

    (@warpenss)

    OKay, so where can I find this header template ?
    Because in my header.php there is this line that generates logo, search and social and other stuff.
    <?php do_action( 'ocean_header' ); ?>
    Where can I find this ocean_header to modify it?

    Since you are using medium header style, you will find the related find under OceanWP > Partials > Header > Style > medium-header.php & medium-header-search.php file

    Thread Starter warpenss

    (@warpenss)

    Thank you. It works.
    Also I can’t find any documentation about where can I find this code that I need to change. Like if I want to add this phone number under oceanwp-mobile-menu-icon clr mobile-right.
    How do you track where are this files?
    UPD: Found it. But question still stands.

    • This reply was modified 6 years, 2 months ago by warpenss.
    • This reply was modified 6 years, 2 months ago by warpenss.

    You will find it under the OceanWP > partials > mobile folder.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add text under search bar’ is closed to new replies.