Reply To: Pages have vanished from header

Home Forums WordPress Themes – Premium Styled Store Pro Pages have vanished from header Reply To: Pages have vanished from header

#47799
Sushil Adhikari
Moderator

Hi EDWARD RUBIO,

Sorry for the inconvenience caused, we had updated child theme to version 1.0.2. If you have not add any code on to child theme, then you can simply update your child theme to latest version.

If some changes are made on child theme then please follow the following steps:

If you are technically sound on WordPress, please change the following code on functions.php other wise please send us your wp-admin details on [email protected] , we will do that for you.

On child theme wp-content/themes/styledstore-child -> functions.php file( You can view this file structure from FTP ) you will find this following code:


add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 100 );
function theme_enqueue_styles() {

    wp_dequeue_style( 'styledstore-pro-style' );
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css' );

}

Replace above code with this code:


add_action( 'wp_enqueue_scripts', 'styledstore_child_enqueue_styles', 100 );
function styledstore_child_enqueue_styles() {

    wp_dequeue_style( 'styledstore-pro-style' );
    wp_dequeue_style( 'styledstore-pro-responsive-csss' );
    wp_enqueue_style( 'styledstore-parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'styledstore-responsive', get_template_directory_uri() . '/css/responsive-css.css' );
    wp_enqueue_style( 'styledstore-child-style', get_stylesheet_directory_uri() . '/style.css' );

}

Please keep back up of your website before proceeding this, so you can take a action when disaster strikes.

Thanks