• Resolved robincwillis01

    (@robincwillis01)


    When I attempt to change the template for a page to a custom one that I have written or any template other than default for that matter the dropdown list resets to the default template after hitting publish. This happens regardless of what theme I am in.

    My host is Netfirms
    Wordpress 2.8.6
    PHP Version 5.2.2
    Apache Version 1.3

Viewing 4 replies - 1 through 4 (of 4 total)
  • It could be that your custom template has an error.

    Thread Starter robincwillis01

    (@robincwillis01)

    Here is a template I created to test that. This produces the same results as the custom template that I actually want to use. Is there an error here? Also I misspoke earlier I meant “update” not “publish” since its a page not a post.

    <?php /*
    Template Name: Test
    */?>

    <?php get_header(); ?>
    <?php get_footer(); ?>

    That should work – although you’ll get an empty page. Have you tried deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    Thread Starter robincwillis01

    (@robincwillis01)

    Ok just looked into my database to see that my wp_postmeta table had crashed, I repaired it and problem is solved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Page Templates Won’t Update’ is closed to new replies.