В шаблоне Wordpress в index.php есть ссылка <a href="<?php bloginfo('template_url'); ?>/reg.php">Регистрация</a>.
Создал файл reg.php и скопировал все туда из index.php.Но он не отображается.Я проверял и проблема с функциями.
Как можна сделать чтобы шаблон отображал функции.Вот код
index.php
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="описание страницы">
<meta name="keywords" content="ключевые слова через запятую или пробел">
<link rel="shortcut icon" type="image/x-icon" href="http://stroy-master.in.ua/wp-content/themes/stroy-master/images/favision.ico" />
<link rel="stylesheet" href="http://stroy-master.in.ua/wp-content/themes/stroy-master/style.css" type="text/css" media="screen" />
<title><?php wp_title('/', true, 'right'); ?><?php bloginfo('name'); ?></title>
</head>
<body>
<div class="head">
<div class="logo">
<a href="/"><img src="http://stroy-master.in.ua/wp-content/themes/stroy-master/images/logo.png" /></a>
</div>
<div class="znak">
<h2><a href="/">Добавить <br /> заявку</a></h2>
</div>
<div class="search">
<form class="search-main" action="./" method="get">
<input class="search-txt" type="text" name="s" id="s" value="<?php the_search_query(); ?>" />
</form>
</div>
<div class="vhod">
<form action='/' method='post'>
<input type="text" name="email" onblur="if (value == '') {value='E-mail'}" onfocus="if (value == 'E-mail'){value =''}" value="E-mail"><br>
<input type="password" name="pass" onblur="if (value == '') {value='Пароль'}" onfocus="if (value == 'Пароль')
{value =''}" value="Пароль"><br>
<input type="submit" value="Войти"><br>
[size=12pt]<a href="<?php bloginfo('template_url'); ?>/reg.php">Регистрация</a>[/size]
</form>
</div>
<div class="menu">
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
</div>
</div>
</body>
</html>