Support » Fixing WordPress » WordPress 3.4 Bug – Page Templates

  • Resolved 1stpage

    (@1stpage)


    Hi,

    For some time I have been experiencing a bug with WordPress not showing the Page Templates dropdown on the page editor. I have been able to resolve this by deactivating and reactivating my theme. Not sure why this worked, but it was suggested in threads here and sure enough it works.

    Now, I have upgraded to WordPress 3.4 and everything else being the same but now the technique above no longer works to restore the Page Template dropdown. I have no way to use page templates now at all.

    Any thoughts?

Viewing 15 replies - 31 through 45 (of 60 total)
  • Sorry but where do i find this lines to change?

    We are having similar problem since WP 3.4 upgrade. Can we know where to place correct code in theme editor php pages? Thanks for quick reply.

    This solution worked for me…. you have to declare the template name on a dedicated row.
    The firts lines of php pages from the theme folder that you loaded

    I mean
    Home/wp-content/themes/YOURTHEME

    From:
    <?php /* Template Name: Enquire / ?>
    To:
    <?php
    /* Template Name: Enquire */
    ?>

    i changed from the theme that works in this way and came back normally.
    whatch out the empty spaces after the php an before of ?>

    Thanks for your help/ideas

    Unfortunately Home/wp-content/themes/YOURTHEME (with our them put in) goes to a 404 page…

    esmi

    (@esmi)


    Forum Moderator


    You need to replace YOURTHEME with the folder name for your current theme.

    Hi esmi & thx – Did just try with our folder name to try: [our url]/home/wp-content/themes/wpnewspaper15 and still show 404 on our site

    esmi

    (@esmi)


    Forum Moderator


    What url? We’re talking about accessing a theme’s folder by Ftp.

    I’m looking inside cpanel folders/files

    usually do all editing code via cpanel instead of FTP. Looking at numerous files under our theme / wpnewspaper15 / inside the theme folder… which file does the code need to be inserted into?
    thx again

    esmi

    (@esmi)


    Forum Moderator


    Do you know what a custom Page template is?

    Hi & thx again. Not sure… are you meaning a custom field for a template? Never have used/done this.

    We are using one of the Gabfire themes.

    esmi

    (@esmi)


    Forum Moderator


    No – a custom Page template. See custom page template.

    esmi

    (@esmi)


    Forum Moderator


    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s vendors.

    Should I create a new file (page) for a custom page template inside the wpnewspaper15 folder (I’m still in cpanel)?

Viewing 15 replies - 31 through 45 (of 60 total)
  • The topic ‘WordPress 3.4 Bug – Page Templates’ is closed to new replies.