Okay
  Public Ticket #2068725
Theme loses frontpage
Closed

Comments

  •  1
    Anastasia started the conversation

    The theme loses the frontpage. It used to change to home2. Now that I deleted home 2 I just get a 404

  •  2,575
    Kevin replied

    Hi Anastasia !

    Please select the Home page again by going to Settings-> Readdings at the wp-admin control panel, then selecting the static page to make Homepage

    thank you

  •  1
    Anastasia replied

    I did that but it happens all the time. As you understand I cannot be monitoring the website for losing the homepage. This is not serious

  •  2,575
    Kevin replied

    Hi Anastasia  !

    I have set the default home page for you "Aledoro Jewelry and art" it will be your homepage, please check if there is a change?

    thank you

  • Zoe replied

    Yes, same issue with me.

    I selected homepage 10 from setting-> reading but after sometimes it goes back to the default Home. I tried it several time but it is keep resetting it to its default home1.

    I am on my localhost. 

    Please advice. 

  •  2,575
    Kevin replied

    Hi Zoe

    Add this code to function.php (Appearance-> Editor-> function.php) to set your home page


    $homepage = get_page_by_title ('Home');
    if( isset ($homepage) && $homepage->ID) {
    update_option('show_on_front', 'page');
    update_option('page_on_front', $homepage->ID);
    }

    The 'Home' and the title of the home you want to set is "Home10" that you want to set

    thank you

  •  1
    Anastasia replied

    I have not tested that code. However, after doing an update, the theme switched the homepage to blog...this is NOT serious

  •  2,575
    Kevin replied

    Hi Anastasia  !

    what you need to do to avoid this problem is the deactive plugin FTC Importer, the problem will be solved

    thank you