我需要在我使用的wordpress主题中编辑一些链接,但无法找到要编辑的正确文件。
该网站是: http://cdwp.publiceer.net/
我需要在标题右上角编辑登录文本按钮。是否有任何方法/程序来跟踪hrefs的来源?在header.php中我只发现了这个:
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Wpoupon
*
*/
do_action("wpoupon_header_init");
global $post;
if(isset($post->ID)){
$postDetail = get_post($post->ID);
$desc = strip_tags($postDetail->post_content);
}
$alreadySignedUp = false;
if(!isset($_COOKIE['cookieSignUpbox']))
{ global $alreadySignedUp;
$alreadySignedUp = true;
setcookie("cookieSignUpbox", '1', time()+(3600*24*365), '/');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php
wpoupon_print_page_title();
?>
<meta name="description" content="<?php echo $desc; ?>" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<meta http-equiv="X-UA-Compatible" value="IE=7">
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" />
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/custom.js" type="text/javascript"></script>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
if ( is_singular() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<?php do_action("wpoupon_header_in_body"); ?>
<div id="wrappermain">
<?php do_action("wpoupon_header_in_wrapper"); ?>
<div id="headertopmain" class="headertopmain">
<?php do_action("wpoupon_header_in_top_header"); ?>
<div class="headertop">
<div class="logo"><a href="<?php bloginfo('url');?>"></a></div>
<div class="headertopright">
<?php
wpoupon_header_login_menu();
wp_nav_menu( array( 'theme_location' => 'primary','container_class' => 'menu', 'link_before' =>'<span>', 'link_after' =>'</span>' ) );
wpoupon_print_current_location();
?>
</div>
</div>
<?php do_action("wpoupon_header_end_top_header"); ?>
</div>
<?php do_action("wpoupon_header_after_top_header"); ?>
<div id="main">
<?php do_action("wpoupon_header_in_main"); ?>
所以它在'wpoupon_header_login_menu();'我猜,但我怎么编辑这个/他从哪里获取信息?
谢谢!