Custom header in search page
-
Hi everyone,
I have created a header for the home pages and other pages. (transparent and white text)
I then created a custom header (Theme panel / MyLibrary) to be able to put it on specific pages. (white background and black text).
I notice now that the page that shows the search results automatically takes the first header. The page is white and the white text is not visible.
I would like to insert my custom header.In the file search.php (Appearence / Theme editor) there is this section:
<?php
/**
* The template for displaying Search Results pages.
*
* @package OceanWP WordPress theme
*/
get_header(); ?>I should use the get_header() function to select my custom header, but I don’t know how to do it.
The theme didn’t create a .php file with the name of my custom header
How do I do that?
thanks
- The topic ‘Custom header in search page’ is closed to new replies.