WordPress.org

Ready to get started?Download WordPress

Forums

Page template doesn't stick (6 posts)

  1. winy
    Member
    Posted 6 years ago #

    Since a few days I am encountering a strange behavior. In the texteditor, TinyMCE, after I I try to choose a different page template the page jumps back to the Default Template. So I can't give any page the desired template.
    Does anyone have an idea how to fix this?

  2. Randy
    Member
    Posted 5 years ago #

    Ive found a similar bug, I would suggest deleting your cookies in your browser, if you're up for that.

  3. lizhenry
    Member
    Posted 5 years ago #

    Did deleting cookies fix it? It didn't for me.

    I made a custom template, with this at the start of the file,

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

    The dropdown menu for page templates displays "Reviews". I'm able to select it. I save the page. Yet it still uses the default template. When I look back to edit the page, the dropdown box has gone back to listing its template as "Default". I'm using WordPress 2.5.

    Thanks for any ideas on how to troubleshoot this problem!

  4. jessicamullen
    Member
    Posted 5 years ago #

    i have the same problem as lizhenry, in 2.6. i have tried everything i can think of! so frustrating...

    could it be host related? i have yahoo small business. their customizable permalink plugin did totally ruin my rss feed.

    thanks!

  5. jessicamullen
    Member
    Posted 5 years ago #

    i couldn't find ANYTHING to fix my problem, so i reinstalled wordpress and imported my old content and theme–didn't change anything–and now it works fine. grr.

  6. Anonymous
    Unregistered
    Posted 5 years ago #

    here's what worked for me:

    go into the database (i used phpMyAdmin and look in the wp_post_meta table for the post_id corresponding to your page. One of the rows you get back will have the meta_key of _wp_page_template. Change that to the file name that you want and save.

    Once i did that my page template selections stuck for both existing and new pages.

    I hope that helps someone.

Topic Closed

This topic has been closed to new replies.

About this Topic