101 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 3-4 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.

110 posts I know Chuck
  • Elite Author
  • Has been a member for 4-5 years
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Microlancer Beta Tester
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
kotofey says
1175 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 5-6 years
mabuc says

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

<?php
/*
Template Name: Blog
*/
?>
101 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 3-4 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
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 3-4 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
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 100 and 199 users
+2 more
duotive says

Deactivate theme. Activate theme. Done. :)

101 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 3-4 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