• I’m running 1.5-alpha-6 and I was wondering if anyone else uses the default theme? If so, have you successfully been able to add page templates?

    I don’t know if it’s just me, but WordPress doesn’t seem to recognize templates in the WordPress root, nor do I understand why considering it acknowledges that the path for the default theme is the root.

    My blog is at boison.org. I created a template entitled ‘Page’ for my about and other pages–I don’t want entry meta data or comments to be displayed on these pages.

    Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Put them in wp-content/.

    Thread Starter kdharris

    (@kdharris)

    WordPress did recognize the file after I put it in wp-content, but then I would get a parse error:

    Parse error: parse error, unexpected $ in /homepages/27/d90640279/htdocs/wp-content/themes/Pink/about.php on line 17

    I’m not sure why this is; I’m looking but I see no ‘$’. LOL And I don’t have this problem with the index file.

    http://wordpress.org/support/topic.php?id=19699

    Is that the problem you have? If so, I’m infected with the same problem you have.

    Read the solution I posted. Only thing I figured out. I believe It’s a bug :).

    Thread Starter kdharris

    (@kdharris)

    Your problem doesn’t seem quite the same. I’m not having any issues with index.php, just the page template(s).

    I use ‘/wp-content/page.php’ without problems.
    If you are seeing errors about variables being missing, I’d guess you’ve made a slight error when removing code..

    Thread Starter kdharris

    (@kdharris)

    Actually, podz, that was a good idea. I went back and took a clean copy of the index file, as well as the source of the file I was basing the template on codewise, and removed things selectively.

    Looks like I forgot the <?php endwhile; endif; ?> statement after <?php the_content(); ?>. Adding that seemed to do the trick; everything works fine now.

    Silly me. Thanks everyone!

    I personally place all my files in my own folder under /wp-content/themes. Keeps the /wp-content folder a little less cluttered (and with all the junk it’s accumulating at the rate I keep uploading stuff…)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Default theme, problem with page templates?’ is closed to new replies.