Thread Starter
Croata
(@croata)
excuse the formatting cut the beginning of the php
over all they have!
<?php
[please mark your code using the ‘code’ button –
either click the ‘code’ button once before writing/pasting your code, then again once after;
or highlight the code, and then click the ‘code’ button once]
try:
<?php /* Template Name: Central */?>
see example from http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
<?php
/*
Template Name: Snarfer
*/
?>
this is the same as:
<?php /* Template Name: Snarfer */ ?>
Thread Starter
Croata
(@croata)
excuse me my friend, ended up formatting the wrong!
the pages are appearing so, what I’d do is call!
<?php
/*
Template Name: central
*/
?>
<?php get_header ();?>
/ / here you can not find and do not know how!
<?php include (.../central/index.php); ?>
<?php get_footer ();?>
the problem is this line!
<?php include (.../central/index.php); ?>
Error
Warning: include(..\central\index.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\wordpress\wp-content\themes\twentyten\pagcentral.php on line 8
Warning: include() [function.include]: Failed opening '..\central\index.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\wordpress\wp-content\themes\twentyten\pagcentral.php on line 8