101 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
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.

113 posts I know Chuck
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+5 more
kotofey says
1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
mabuc says

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

<?php
/*
Template Name: Blog
*/
?>
101 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
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.

101 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
duotive says

Deactivate theme. Activate theme. Done. :)

101 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
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