Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress admin Re: WordPress admin

#110421

Hey I tried as you said but still get the ‘lol’ screen when I go to my login page which is :
http://vigourdynamicfitness.com.au/wp-admin

Here is my script for my functions.php file, have I got it laid out correct? I just put in ‘Newpass1’ as the temporary password….

wp_set_password(‘Newpass1’,1);

// Add RSS links to section
automatic_feed_links();

// Clean up the
function removeHeadLinks() {
remove_action(‘wp_head’, ‘rsd_link’);
remove_action(‘wp_head’, ‘wlwmanifest_link’);
}
add_action(‘init’, ‘removeHeadLinks’);
remove_action(‘wp_head’, ‘wp_generator’);

// Declare sidebar widget zone
if (function_exists(‘register_sidebar’)) {
register_sidebar(array(
‘name’ => ‘Sidebar Widgets’,
‘id’ => ‘sidebar-widgets’,
‘description’ => ‘These are widgets for the sidebar.’,
‘before_widget’ => ‘

‘,
‘after_widget’ => ‘

‘,
‘before_title’ => ‘

‘,
‘after_title’ => ‘


));
}

// Navigation
if (function_exists(‘register_nav_menus’)) {
register_nav_menus(
array(
‘main_nav’ => ‘Main Navigation Menu’
)
);
}

?>