I am having such a hard time trying to get my header with navigation on my wordpress site updated. I’m new to updating my site, as my previous designer can’t help any longer. My business has changed as I’m no longer selling photography products, and am focusing on my food business. At this point, I can’t pay anyone, because I”m on unemployment, but I”m trying to get it done myself.
I’m using WP with Ocean WP with Elementor.
I used this Ocean WP video https://www.youtube.com/watch?v=4ryxEl5cOes to try to create a custom header that is under my OceanWP library. I’ve created it and it’s there, when I go to OceanWP>mylibrary but when I go to my wp dashboard and go to appearance>header>general and change style to customer header, and template to header. But this page shows a totally different page that is my archive of my blog posts. This page is at the top of several of the links, and then, other pages have a totally different header. So, my website has three different headers, and I”m not sure how to get the one I created thats in the Oceanwp library to be the only one.
So, I’m so frustrated, I’ve been working on trying to fix this for about a month, so I wanted to see if anyone has suggestions.
There are three different headers.The one I want has the search over on the right side of the same line as the navigation and logo.
The second header has the search being on a different side right column.
The third header shows a simple logo with a grey block that I don’t want and doesn’t have the search box next to the navigation menu.
Any help would be awesome. Thanks.
]]>I can create the headers, but when I try to edit the content page header (white one) it edits ALL the headers and NOT the white one.
When looking at the customizer options it doesn’t let me switch between custom headers and instead the “loading icon” keeps spinning, see screenshot:
https://www.dropbox.com/s/zoghyq6xm4r1mq9/Screenshot%202021-09-16%20at%2021.39.39.png?dl=0
I thought it was to do with using a child theme, so i switched it to the parent them and it DID work for a few minutes, but once i made a change to one of the headers it broke.
I can’t believe this has not been fixed yet.
???
It seems as though the duplicate header template has a header itself, at least in Elementor. If I try to edit this template in Elementor, I immediately have access to edit the lower header, but this doesn’t display on the actual page. If I edit the top header of this template, these change are affected throughout the entire site.
Elementor Screenshots:
Original header (this is what I expected to see for the duplicate)
https://i.imgur.com/3q3lWw4.png
Duplicated Header (notice the 2 headers) if I edit the top header, the changes affect the entire site and not just the page I set to it. If I edit the bottom header nothing happens because the page doesn’t display this one.
https://i.imgur.com/xBNhKsB.png
I have a Membership website that requires 4 different Headers.
I have created all Headers with “Header, Footer & Blocks” with Elementor.
Yet only one of them will show using the Shortcode in my PHP Script, which is the 1st one I created.
Example (PHP):
echo do_shortcode(“[hfe_template id=’386′]”);
Basically, I edited the header.php and each page I pass in a Session variable to display a specific header, the if statement works, yet all but one Shortcode displays anything.
Note: even trying to display the Header using shortcodes outside the IF statement, only the 1st Header I created displays.
I have tried changing many settings, yet is there a linkage that forces the 1at Header created or am I missing something
** I have done this before with 2 headers and is worked well, yet with 4 headers it doesn’t work.
Kind Regards,
Lionel
]]>In the conditions section, I can choose singular, all site or archives. I’ve chosen singular.
I can then choose all pages or child of. I chose child of.
I then have the option of choosing which page’s children will use the custom header.
Is there a way to set this for items on a menu, or must I have them menu link to a page and only that page’s children will use the custom header?
]]>I’ve have been trying to solve this issues and I understand someone has asked this question before, but that person didn’t put the solution in the thread.
I tried the CSS provided in the other thread – but it removed the header from the whole site. is there another CSS I can try??
related to this I want to be able to use the featured image from posts as the headers of the post – how do I do that? (I mean with the diagonal style and stuff not just plonking a sq image at the top of the screen).
again related to this – I have set up a category item as a menu item so I split where my posts are displayed on my website. how do I create a header specifically for the category item menu pages as it’s not a real “page” created in the “pages” section of the wordpress dashboard
thanks in advance
]]>I’m using a customized child theme and parent theme setup by colleagues. I want to add the slider to just the home page and have installed the soliloquy plugin. I’m able to call the slider on all pages by editing the header file in the child theme using the soliloquy template tag info provided:
if ( function_exists( ‘soliloquy’ ) ) { soliloquy( ‘###’ ); }
However, this changes the header for all pages on the site. I’ve created a new file in the child theme folder called header-slider.php, and I’ve figured out how to call that file by editing the header.php file in the parent theme, but this also changes all the sites pages. I understand why it does, what I want to do is find the right code and location to put it that calls the header-slider.php file for the home page and the header-image.php file (both in the child theme folder) for the rest of the site.
The section of the header.php file that calls the child theme header looks like:
<?php get_template_part( ‘header’, ‘image’ ); ?>
I’m a novice with php, at best, and have searched for hours and found many things, but none of them work. Any help on how to code the header file in the parent theme to call a different child theme header just for the home page would be much appreciated.
Thanks!
]]>