deleted page stays in header
-
Hi,
Can anyone help? I recently created a page called ‘testing’ as I wanted to try something out. Anyway, that page appears in the header now but it cannot be found anywhere on the pages section on the backend to delete. Nor is there an actual page created for it. It’s really bizare. Can anyone help?
Here is the webpage http://universityadviceuk.com/
Thanks
Jamie
-
Any change you can delete it in Appearance->Menus?
Hi Michael. Apologies, Can you expand a bit? In the appearance menu all I have is Themes, widgets, Editor and add new themes. How would I use these to delete the unwanted page title that is appearing in the header? Normally I would go to my pages menu to delete the page but it’s not appearing there.
Sorry–thought you were talking about 3.0.
In you case look for the template (header.php) that is displaying those pages to see if the link is hardcoded in there.
I’ve just downloaded version 3.0 but it says my theme doesn’t support menus- although the unwanted ‘testing’ page does appear in page list on this page but not in the main pages list. I also looked at the template but I’m not sure what I’m looking for- it’s just code for me and I can’t see anywhere the name of the unwanted header (‘testing’) in the code.
What else? I’m new to wordpress so I don’t understand the syntax
I’ve pasted the code below in case it’s obvious to you from that what the problem is. If you look on my website: univeristyadviceuk.com you’ll see the header ‘testing’ appears on both the english section and the spanish section. It appears nowhere in the backend apart from under the menu section but you can’t select it.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>>
<head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php if (is_front_page() ) {
bloginfo(‘name’);
} elseif ( is_category() ) {
single_cat_title(); echo ‘ – ‘ ; bloginfo(‘name’);
} elseif (is_single() ) {
single_post_title();
} elseif (is_page() ) {
single_post_title(); echo ‘ – ‘; bloginfo(‘name’);
} else {
wp_title(”,true);
} ?></title>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”stylesheet” href=”<?php bloginfo(‘template_url’); ?>/css/<?php echo get_option(‘ss_color_scheme’); ?>.css” type=”text/css” media=”screen” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<!–[if IE 6]><script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/warning.js”></script><![endif]–>
<!–[if IE 7]><link href=”<?php bloginfo(‘template_url’); ?>/css/ie7.css” rel=”stylesheet” type=”text/css” /><![endif]–>
<!–[if IE 8]><link href=”<?php bloginfo(‘template_url’); ?>/css/ie8.css” rel=”stylesheet” type=”text/css” /><![endif]–>
<?php
$customcss = get_option(‘ss_css_code’);
if ($customcss != ”) {
echo ‘<style type=”text/css”>’;
echo $customcss;
echo ‘</style>’;
}
?>
<?php wp_head(); ?>
<?php wp_deregister_script(“jquery”); ?>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/jquery-1.2.6.min.js”></script>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/sansation_custom.js”></script>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/cufon-yui.js”></script>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/Sansation_700.font.js”></script>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/swfobject/swfobject.js”></script>
</head>Don’t see it there either. Maybe use http://wingrep.com to search your theme files for the text ‘testing’.
Thanks, does this work on a Mac? And what exactly am I looking for? the name ‘testing’?
Excuse my ignorance but I am very new to wordpress (around 3 weeks) and have no background in coding/designing webpages
Jamie
Sorry I just noticed you did say ‘testing’ but which files am I searching- just those associated with the Theme?
Just the theme files.
Another thing–have you tried deactivating plugins? Any chance you are using a caching plugin that is causing that?
What is a caching plugin? I’m using a language plugin WPML. I have a suspicion this may have something to do with it because for some reason the unwanted ‘testing’ page appears on both the spanish and english version of the website. I remember creating it and then the internet went once and the error was created.
I’m reluctant to disactivate the plugin though as I’m worried I’ll lose my spanish posts and settings. I guess I could copy the html and disactivate to see if this solves the problem. Is this what you’d recommend?
Jamie
Do you have a choice?
Also you should review WordPress Backups.
The topic ‘deleted page stays in header’ is closed to new replies.