• Hello,

    I created a child theme of spicepress, my styles, menus and content have all successfully transferred from the parent to the child but my homepage has lost all of the slider and services I had created on the parent.

    When I click customise theme, I am not getting all the homepage setting customisation options I got with the parent even though I have the Spicepress plugin installed and activated.

    Please help.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • xoptimus

    (@spicethemesoptimus)

    Hi michaelrichardbarley,

    Thanks for contacting us,

    For this find the function.php file in your child theme package and added following code in the fucntion.php file.

    function spicepress_child_get_lite_options() {
    	$spicepress_mods = get_option( 'theme_mods_spicepress' );
    	if ( ! empty( $spicepress_mods ) ) {
    		foreach ( $spicepress_mods as $spicepress_mod_k => $spicepress_mod_v ) {
    			set_theme_mod( $spicepress_mod_k, $spicepress_mod_v );
    		}
    	}
    }
    add_action( 'after_switch_theme', 'spicepress_child_get_lite_options' );

    then save the above code and check your site.

    Any confusion lets me know.

    Thanks

    officialmmt

    (@officialmmt)

    That is doesn’t work for me. Any more idea?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Homepage setting customisation not available on child theme’ is closed to new replies.