[resolved] Create home page with no header or nav menu, only main content (3 posts)

  1. labisca2012
    Posted 2 years ago #

    Is it possible to create a splash/front page that only includes page content, no header site title or nav menu. This is for a very small site with internal links, no nav menu.

    See the beta here

    I really like the simplicity of this theme.

    Thank you very much for your help.

  2. Han
    Theme Author

    Posted 2 years ago #

    Simply add the code below inside omega_theme_setup function in functions.php

    remove_action( 'omega_header', 'omega_header_markup_open', 5 );
    remove_action( 'omega_header', 'omega_branding' );
    remove_action( 'omega_header', 'omega_header_markup_close', 15 );
    remove_action( 'omega_before_header', 'omega_get_primary_menu' );

    Using Omega Child theme to customize Omega theme is recommended.

  3. labisca2012
    Posted 2 years ago #

    I'm now using the Omega theme; no child theme yet.

    The above code removes the header from every page, but what I wanted was to be able to create a unique home page without header or nav, leaving all other pages with their header/nav styling.

    This theme doesn't seem to give any page template options, is that right?

    So even if I created a new page template that doesn't include the "get header" function, I wouldn't have the option to choose this new page template in the wp page creation interface, correct?

    But you do have different layout templates available for posts??

    Thanks for your response.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic