Viewing 2 replies - 1 through 2 (of 2 total)
  • By adding a file (front-page.php or home.php) to your template folder you can easily achieve a static front page. For more information reference the WordPress Codex:

    https://codex.www.ads-software.com/Creating_a_Static_Front_Page

    Thread Starter 1lizcollins

    (@1lizcollins)

    Thank you gabediaz. I added front-page.php to /wp-content/themes but it still comes up blank when I disable the widget currently set on the front page. I read the link you sent but I didn’t understand exactly what code needs to be in front-page.php I’m new to all this!). I’d like to pull text from an existing page, and use the template that is currently in use on the site (Genesis). I tried `if ( ‘posts’ == get_option( ‘show_on_front’ ) ) {
    include( get_home_template() );
    } else {
    // Custom content markup goes here
    }andif ( ‘posts’ == get_option( ‘show_on_front’ ) ) {
    include( get_home_template() );
    } else {
    include( get_page_template() );
    }` But neither worked. Can you tell me what I need to include?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Static homepage is not visible from front end when enabled’ is closed to new replies.