102 posts
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
  • 4 Years of Membership
Zanzad
says
I updated my WP to WP 3 .4 and my custom page template disappear. Maybe some peoples here had the same experience. I’ve found the answer here: http://stackoverflow.com/questions/11027121/page-templates-disappeared-with-wordpress-3-4

WP 3 .4 wont accept line like this: /* Template Name: MyCustomTemplate /

Change to be like this: / Template Name: MyCustomTemplate */

It work for me.

128 posts I know Chuck
  • Elite Author
  • Author Level 8
  • 5 Years of Membership
  • Exclusive Author
+5 more
kotofey
says
1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+2 more
mabuc
says

I’m using this and no problem at all.. ;)

<?php
/*
Template Name: Blog
*/
?>
102 posts
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
  • 4 Years of Membership
Zanzad
says

This bug will be fixed in WP 3 .4.1 http://wordpress.org/support/topic/wordpress-34-bug-page-templates#post-2891915

Thanks for added the info, kotofei.

102 posts
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
  • 4 Years of Membership
Zanzad
says

I’m using this and no problem at all.. ;)
<?php
/*
Template Name: Blog
*/
?>

Yes, Just like the code you used. I’m sorry, wrong my typo. You can click the link and see the code’s line is just like yours.

3007 posts
  • 5 Years of Membership
  • Affiliate Level 5
  • Author Level 9
  • Bundle Boss
+8 more
duotive
says

Deactivate theme. Activate theme. Done. :)

102 posts
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
  • 4 Years of Membership
Zanzad
says

Deactivate theme. Activate theme. Done. :)
unfortunately not working for me, Duotive. I solved my problem by following this tutorial:
http://stackoverflow.com/questions/11027121/page-templates-disappeared-with-wordpress-3-4
Just like Mabuc’s code structure.
by
by
by
by
by
by