Home page has disappeared! help!

Homepage Community Forums Epik Theme Support Home page has disappeared! help!

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15137
    Clare
    Customer

      hi there, I don’t know what has happened but somehow the home page where the widgets show for the epik theme has disappeared

      so when you go to my website http://www.yourlifethroughalens.com.au it points to the /blog page.

      help! has something been changed somewhere in the coding? or is it a simple direction issue? as there is no static page, i don’t know where to point the home page too.

      this is the code that is in my page_home.php file (i haven’t changed it as far as I am aware as I never touch this). This all happened last week after my host (siteground) went in and removed something from my htaccess file because the hosting wasn’t working. They are now saying it wasn’t anything they have done so I don’t know! help!

      thanks
      Clare

      <?php

      // Template Name: Home

      add_action( ‘genesis_meta’, ‘epik_home_genesis_meta’ );
      /**
      * Add widget support for homepage. If no widgets active, display the default loop.
      *
      */
      function epik_home_genesis_meta() {

      if ( is_active_sidebar( ‘slider-wide’ ) || is_active_sidebar( ‘slider’ ) || is_active_sidebar( ‘welcome-wide’ ) || is_active_sidebar( ‘welcome-feature-1’ ) || is_active_sidebar( ‘welcome-feature-2’ ) || is_active_sidebar( ‘welcome-feature-3’ ) || is_active_sidebar( ‘home-feature-4’ ) || is_active_sidebar( ‘home-feature-5’ ) || is_active_sidebar( ‘home-feature-6’ ) || is_active_sidebar( ‘home-feature-7’ ) || is_active_sidebar( ‘home-feature-8’ ) || is_active_sidebar( ‘home-feature-9’ ) || is_active_sidebar( ‘home-feature-10’ ) || is_active_sidebar( ‘home-feature-11’ ) || is_active_sidebar( ‘home-feature-12’ ) || is_active_sidebar( ‘home-feature-13’ ) || is_active_sidebar( ‘home-feature-14’ ) ) {

      remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
      add_action( ‘genesis_after_header’, ‘epik_home_loop_helper_top’ );
      add_action( ‘genesis_after_header’, ‘epik_home_loop_helper_welcome’ );
      add_action( ‘genesis_after_header’, ‘epik_home_loop_helper_middle’ );
      add_action( ‘genesis_after_header’, ‘epik_home_loop_helper_mid_bottom’ );
      add_action( ‘genesis_after_header’, ‘epik_home_loop_helper_bottom’ );
      add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );

      }
      }

      /**
      * Display widget content for “Slider Wide” and “Slider” sections.
      *
      */
      function epik_home_loop_helper_top() {

      genesis_widget_area( ‘slider-wide’, array(
      ‘before’ => ‘<div class=”slider-wide”><div class=”wrap”>’,
      ‘after’ => ‘</div></div>’,
      ) );

      genesis_widget_area( ‘slider’, array(
      ‘before’ => ‘<div class=”slider”><div class=”wrap”>’,
      ‘after’ => ‘</div></div>’,
      ) );

      }

      /**
      * Display widget content for the “Welcome-wide”, “Welcome Feature 1”, “Welcome Feature 2”, and “Welcome Feature 3″ sections.
      *
      */
      function epik_home_loop_helper_welcome() {

      if ( is_active_sidebar( ‘welcome-wide’ ) || is_active_sidebar( ‘welcome-feature-1’ ) || is_active_sidebar( ‘welcome-feature-2’ ) || is_active_sidebar( ‘welcome-feature-3’ ) ) {

      echo ‘<div class=”welcome”>’;

      genesis_widget_area( ‘welcome-wide’, array(
      ‘before’ => ‘<div class=”welcome-wide”><div class=”wrap”>’,
      ‘after’ => ‘</div></div>’,
      ) );

      echo ‘<div class=”welcome-features”><div class=”wrap”>’;

      genesis_widget_area( ‘welcome-feature-1’, array(
      ‘before’ => ‘<div class=”welcome-feature-1″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘welcome-feature-2’, array(
      ‘before’ => ‘<div class=”welcome-feature-2″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘welcome-feature-3’, array(
      ‘before’ => ‘<div class=”welcome-feature-3″>’,
      ‘after’ => ‘</div>’,
      ) );

      echo ‘</div><!– end .wrap –></div><!– end .welcome-features –></div><!– end .welcome –>’;

      }

      }

      /**
      * Display widget content for “Home Feature 1, 2, 3, and 4″ sections.
      *
      */
      function epik_home_loop_helper_middle() {

      if ( is_active_sidebar( ‘home-feature-1’ ) || is_active_sidebar( ‘home-feature-2’ ) ) {

      echo ‘<div class=”home-feature-bg-alt hf1″><div class=”wrap”>’;

      genesis_widget_area( ‘home-feature-1’, array(
      ‘before’ => ‘<div class=”home-feature-1″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘home-feature-2’, array(
      ‘before’ => ‘<div class=”home-feature-2″>’,
      ‘after’ => ‘</div>’,
      ) );

      echo ‘</div><!– end .wrap –></div><!– end .home-feature-bg-alt –>’;

      }

      genesis_widget_area( ‘home-feature-3’, array(
      ‘before’ => ‘<div class=”home-feature-bg hf3″><div class=”wrap”><div class=”home-feature-3″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      genesis_widget_area( ‘home-feature-4’, array(
      ‘before’ => ‘<div class=”home-feature-bg-alt hf4″><div class=”wrap”><div class=”home-feature-4″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      }

      /**
      * Display widget content for “Home Feature 5, 6, 7, and 8″ sections.
      *
      */
      function epik_home_loop_helper_mid_bottom() {

      genesis_widget_area( ‘home-feature-5’, array(
      ‘before’ => ‘<div class=”home-feature-bg-dark hf5″><div class=”wrap”><div class=”home-feature-5″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      genesis_widget_area( ‘home-feature-6’, array(
      ‘before’ => ‘<div class=”home-feature-bg-alt hf6″><div class=”wrap”><div class=”home-feature-6″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      genesis_widget_area( ‘home-feature-7’, array(
      ‘before’ => ‘<div class=”home-feature-bg hf7″><div class=”wrap”><div class=”home-feature-7″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      genesis_widget_area( ‘home-feature-8’, array(
      ‘before’ => ‘<div class=”home-feature-bg-alt hf8″><div class=”wrap”><div class=”home-feature-8″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      }

      /**
      * Display widget content for the “Home Feature 9, 10, 11, 12, 13, and 14″ sections.
      *
      */
      function epik_home_loop_helper_bottom() {

      if ( is_active_sidebar( ‘home-feature-9’ ) || is_active_sidebar( ‘home-feature-10’ ) || is_active_sidebar( ‘home-feature-11’ ) || is_active_sidebar( ‘home-feature-12’ ) || is_active_sidebar( ‘home-feature-13’ ) ) {

      echo ‘<div class=”home-feature-bg hf9″><div class=”wrap”>’;

      genesis_widget_area( ‘home-feature-9’, array(
      ‘before’ => ‘<div class=”home-feature-9″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘home-feature-10’, array(
      ‘before’ => ‘<div class=”home-feature-10″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘home-feature-11’, array(
      ‘before’ => ‘<div class=”home-feature-11″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘home-feature-12’, array(
      ‘before’ => ‘<div class=”home-feature-12″>’,
      ‘after’ => ‘</div>’,
      ) );

      genesis_widget_area( ‘home-feature-13’, array(
      ‘before’ => ‘<div class=”home-feature-13″>’,
      ‘after’ => ‘</div>’,
      ) );

      echo ‘</div><!– end .wrap –></div><!– end .home-feature-bg –>’;

      }

      genesis_widget_area( ‘home-feature-14’, array(
      ‘before’ => ‘<div class=”home-feature-bg-alt hf14″><div class=”wrap”><div class=”home-feature-14″>’,
      ‘after’ => ‘</div></div></div>’,
      ) );

      }

      genesis();

      #15139
      kronos
      Customer

        It’s not possible for the homepage or any file inside the theme to suddenly change on its own. So maybe they removed or altered something somewhere on your site, or a setting was changed. Either way, something was definitely changed, just gotta figure out where exactly.

        It’s difficult to guess what happened, so we’d have to go through the basics first. Take a look at Appfinite’s Homepage tutorial to make sure you have it setup properly – https://appfinite.com/tutorials/how-to-setup-the-home-and-blog-page/

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.