HELP! Can't see my php.files after wrong coding
-
Hi everyone!
I wanted to add a widget area on my theme using this code:
if (function_exists(‘register_sidebar’)) {
register_sidebar(array(
‘name’ => ‘Sidebar Widgets’,
‘id’ => ‘sidebar-widgets’,
‘description’ => ‘Widget Area’,
‘before_widget’ => ‘<div id=”one” class=”two”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2>’,
‘after_title’ => ‘</h2>’
));
}I added this to my widgets.php file but I renamed it by “header”. WHY DID I DO THAT?! Now this code is in my header! And I can’t have access anymore to all the php files.
I went on my hoster website, downloading the widgets.php file in order to modify it but the coding is not in here…
How should I do??
Thanks a lot!
Béné
The topic ‘HELP! Can't see my php.files after wrong coding’ is closed to new replies.