• herbyderby

    (@herbyderby)


    Hello All,

    I have a few different page templates that I use in my theme. One of which is a homepage template that is separate from the second-level pages.

    I have the home page template applied to the homepage, yet it is pulling from the second-level page template.

    BUT when I am logged in to WP (3.3.1), it properly shows. As soon as I am logged out, it doesn’t show.

    Troublshooting I’ve done to no avail: deactivate all plugins. Checked the coding for the page: nothing changed. Checked the functions.php to make sure that wasn’t wonky(I have some special stuff in there), checked CSS files to make sure they’re loading.

    Any help is appreciated!

Viewing 13 replies - 1 through 13 (of 13 total)
  • esmi

    (@esmi)

    Is your home page also your main posts page?

    Thread Starter herbyderby

    (@herbyderby)

    No, it isn’t. I have no “posts” as in blog posts.

    esmi

    (@esmi)

    What do you have configured in Settings -> Reading?

    Thread Starter herbyderby

    (@herbyderby)

    Front page displays at static page “Home” (which is the name of the home page). This “home” has the homepage template applied to it.

    esmi

    (@esmi)

    OK – what’s the name of the home page template? And what’s the name of the second-level page template?

    Thread Starter herbyderby

    (@herbyderby)

    Home: homepage-only.php

    Second-Level: page.php

    esmi

    (@esmi)

    Then it sounds like there is an issue in your homepage-only.php template file.

    Thread Starter herbyderby

    (@herbyderby)

    Yeah, I thought so too. I quickly hard-coded a new page with nothing in it but the navigation and photo and then applied the Home page to that template called “random.php” No difference!

    Could it be a permissions thing? Where the outside world can’t execute but only users can? Right now, my settings are at 0755 for parent and child directories/files.

    esmi

    (@esmi)

    Unlikely but what happens if you switch to Twenty Eleven and apply the showcase template file to your home page?

    Thread Starter herbyderby

    (@herbyderby)

    Switched to the 2011 theme, made the home page the Showcase Template, and it shows from top to bottom: title, header, main, etc. And, of course, the text that goes in the content area. So pretty much everything it should.

    Here’s the url: http://www.tightlinesangling.com

    esmi

    (@esmi)

    Well that confirms that it’s something funky within your theme that is causing the problem. Any conditionals in header.php? Could you start stripping functions out of functions.php?

    Anything in your server’s error logs that might give a clue? if not, turn debug on and enable error logging to see if that throws up anything.

    Thread Starter herbyderby

    (@herbyderby)

    Yup, it’s throwing up some interesting stuff. Ironically, I do not touch core WP files and it’s showing deprecation of certain things, inability to load others, etc.

    http://www.tightlinesangling.com

    Thread Starter herbyderby

    (@herbyderby)

    esmi, my deepest, sincerest thanks for you taking the time to ask the questions.

    It appeared a couple plugins didn’t play well together (as I thought initially). The debug showed me errors and as soon as I deactivated them, all debugging error messages ceased. Only the standard debugging messages showed, but no errors.

    Again, your time and efforts are greatly appreciated. I would buy you a beverage (or two) of your choice if I could!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘A Page Template Applied to A Page Doesn't Show’ is closed to new replies.