• I have a theme,when i changed the theme name..all styles will break and menu will disappear.how can i overcome this??is this theme problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Phil

    (@owendevelopment)

    You change the name via FTP, but the database still thinks that you are using the old. It’s best to switch to the default WordPress theme, then rename your theme, then reactivate your new name theme.

    you also have to make sure that there isn’t a variable being defined in the theme that’s being used throughout as well. Newer/less experienced theme developers sometimes do that because they are familiar with php, but not yet fully familiar with the wp shortcuts

    like they may do

    $themedir = 'mytheme';
    include('wp-content/themes/'.$themedir.'/myfile.php');

    rather than

    include(get_stylesheet_directory().'/myfile.php');

    Thread Starter rahulword9895

    (@rahulword9895)

    its not working luckdragon and Phil

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘theme name change problem’ is closed to new replies.