Home>Support>Home Page Header – Not Working

Home Page Header – Not Working

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

Great theme, and I am a paid user – but there seems to be an issue with my site’s homepage header.

I’ve created a custom header for internal pages, and I want to recreate the same header (LOGO in MENU) for the home page, but no matter what I try – changing the template, or the headers, hard code – it will not change.

What am I missing?

URL: maxtv.com

Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 3 months ago Greg Priday
    Hi, I Work Here

    Hi Paulunstech

    This problem sounds like it might be a caching issue. The first thing to check is server-side caching through plugins like W3 Total Cache, WP Super Cache, etc. If you have any of these caching/performance plugins installed, try clearing their cache and see if that helps.

    It might also be browser cache. Try clearing your browser cache, and then refreshing the page to see if that helps.

    You can read more about this sort of issue on the WordPress codex – http://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens

  2. 10 years, 3 months ago paulunstech

    Unfortunately this has no correlation to this issue, but thanks for the reply.

    There is no cache plugin, and I cleared the browser cache multiple times.

    I am a WP developer so any more detailed insight would be ideal. If you need the login information, I can provide you with a user name.

    It is only on the home page… changing the "mast head" settings in the theme settings also does not change anything.

    I'm getting quite frustrated and I'm sure I'm just missing something simple… I hope.

  3. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hey Paulunstech, sorry to hear about the hassle. I think us logging in and taking a look would be best.

    Would it be possible for you to create a temporary admin account for us so we can log in and take a look? You can create the account with the following email address:

    [email protected]

    Just navigate to Users > Add New in your WordPress admin. Enter siteorigin for the username and [email protected] for the email address. Make sure you’ve selected Administrator for the role and enabled the “Send Password” field so we receive the details.

    Once we’re finished taking a look, you can delete this account. We’ll let you know when to do that.

  4. 10 years, 3 months ago Private Message - WordPress

    This is a private message.

  5. 10 years, 3 months ago paulunstech

    User added:

    Private Snippet

    Private Snippet
    Private Snippet
    Private Snippet

    You will notice, on internal pages, I have a template “Movie Page” which has the logo inside of the menu, without the white header on top.

    I cannot get the home page to do the same,

    Thank you for your assistance.

  6. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the info. Are there pages that you want to use the regular masthead layout on? Or do you want to use the Logo in Menu header on all pages?

    Will take a look ASAP tomorrow.

  7. 10 years, 3 months ago paulunstech

    Thank you for your prompt reply.

    Currently, I would like the logo in the menu on each page.

    Though, it would be nice to have the option and know why it’s not registering. (I believe all I did was create a custom template for the “Movie Page” with the correct header info, and I tried to apply the header on the home page, but it didn’t quite work.)

    Let me know if you need further info! Thanks again.

  8. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the info. The reason I’m asking is that if the Logo In Menu is being used sitewide then it should ideally be set from Appearance > Theme Settings > Layout > Masthead Layout.

    I took a look around now. Can you perhaps let me know what needed to be changed in header.php. Perhaps we can try minimise the child theme a little and hopefully solve this problem in the process.

  9. 10 years, 3 months ago paulunstech

    Honestly, I’m not sure. I’m always tweaking so many sites these days, I should have written it down. I don’t think I changed much, if anything – I know that I made the “moviepage” template calling the “moviepage” header.

    It appears “header-moviepage” and “header-home” and “header” are all the same, but I could be wrong.

    Only different one is “header-inner”

    Hope that helps

  10. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the feedback. I think the quickest might be if you email us a copy of the child theme zipped. If you could do that, please send it to [email protected] and let me know here once the mail has been sent so I can go check for it.

    Thanks :)

  11. 10 years, 3 months ago paulunstech

    Hi Andrew,

    Not sure how that would be the quickest? I’ll do so if you think that is best, but the files in the child theme are editable through the editor – otherwise, I have not changed anything in terms of theme files.

    Again, thank you for your help, I am sure we can get to the bottom of this soon enough. I will send the zip if you still think it is necessary.

  12. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi :) Sorry we don’t have this resolved yet. Having the child theme lets me test with it in my local installation, I can also search folder wide in my text editor and view files with code highlighting…so in those ways it makes things easier. I’ll take another look now and let you know how it goes.

  13. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    My bad, should have seen this earlier. Assuming header-home.php is being used for the home page then this is the problem:

    	<?php if( is_front_page() ) : ?>
    
    		<?php get_template_part( 'parts/masthead' ); ?>
    
    		<?php else: ?>
    
    		<?php get_template_part( 'parts/masthead-logo-in-menu' ); ?>
    
    	<?php endif; ?>
    

    Restore that to:

    OR

    Switch the statement:

    	<?php if( is_front_page() ) : ?>
    
    	<?php get_template_part( 'parts/masthead-logo-in-menu' ); ?>
    
    	<?php else: ?>
    
    	<?php get_template_part( 'parts/masthead' ); ?>
    		
    <?php endif; ?>
    
  14. 10 years, 9 days ago paulunstech

    Hi Andrew,

    Sorry for the delay in my response.

    Unfortunately this did not apply the fix.

    Please advise – thanks!

  15. 10 years, 9 days ago Andrew Misplon
    Hi, I Work Here

    Please send a ZIP copy of your child theme to [email protected]. I’ll be able to take a look a bit later. Thanks :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More