Foro de programación en PHP
Ayuda con Blog en Wordpress
| Autor: JAZAAEG8986 Publicado: 04-1-2009 04:27 PM |
|
|
Hola soy nuevo en el Foro tengo un problema tengo miblog en Wordpress, me instale una plantilla pero al momento de querer administrar mi cuenta me da el siguiente error: Fatal error: Call to undefined function get_admin_page_title() in /home/aztekero/public_html/blog/wp-admin/admin-header.php on line 12 Este es el código de header php <?php require_once get_template_directory()."/functions.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen,projection" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> </head> <body> <!-- wrap starts here --> <div id="wrap"> <!--header --> <div id="header"> <h1 id="logo-text"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <p> <form class="search" method="get" action="<?php bloginfo('home'); ?>/"> <input class="textbox" type="text" value="<?php if (!($noresults)) { echo wp_specialchars($s, 1); } ?>" name="s" id="s" /> <input class="button" type="submit" id="searchsubmit" value="Search" /> </form> </p> </div> <!-- menu --> <div id="menu"> <ul> <li <?php if (is_home()) echo " id=\"current\""; ?>><a href="<?php echo get_settings('home'); ?>">Home</a></li> <?php $pages = BX_get_pages(); if ($pages) { foreach ($pages as $page) { $page_id = $page->ID; $page_title = $page->post_title; $page_name = $page->post_name; if ($page_name == "archives") { (is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ' id="current"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Archives</a></li>\n"; } elseif($page_name == "about") { (is_page($page_id))?$selected = ' id="current"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">About</a></li>\n"; } elseif ($page_name == "contact") { (is_page($page_id))?$selected = ' id="current"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Contact</a></li>\n"; } elseif ($page_name == "about_short") {/*ignore*/} else { (is_page($page_id))?$selected = ' id="current"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">$page_title</a></li>\n"; } } } ?> </ul> </div> SI ME PUEDEN AYUDAR POR FAVOR! saludos |
|

