page template code crashing page
-
Hi,
What would the proper way to fork a page.php file with the below code at the top into a template?<?php /* * single page * semplice.theme */ ?> <?php get_header(); # inlude header ?>
If I try adding the below basic template code and nothing else any page it is applied to crashes:
<?php /* Template Name: testtemplate*/ ?> <?php /* * single page * semplice.theme */ ?>
Here is the error but I don’t think it is related:
Parse error: syntax error, unexpected 'p_get_attachment_image_src' (T_STRING) in /nfs/c01/h08/mnt/34978/domains/idrawdetroit.com/html/wp-content/themes/semplice/page-home.php on line 25
If I remove this it still crashes with the same error:
<?php /* * single page * semplice.theme */ ?>
I suspect this has something to do with the *semplice.theme* designation bit. Can anyone point me to a tutorial or documentation that I can reference for this error? The theme’s designated forum said this was a wordpress issue… ??
Thanks very much.
- The topic ‘page template code crashing page’ is closed to new replies.