-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pages don't display HTML or CSS fields #15
Comments
The code that handles showing the HTML and CSS on posts could be added to loop-page.php as well. |
Is there a more WordPress-y way to handle that though, without duplicating the code on multiple templates? How's Dan doing it at http://pea.rs? |
A lot of the template could be stripped. Pages will look for a few template file name variations and end up at page.php and then index.php, while posts do a similar search and end up at post.php and then index.php. See http://codex.wordpress.org/Template_Hierarchy You could probably get by with just having an index.php that handled everything. I don't think the Twenty Ten template Dan's using has been modified beyond a few parts but I don't think his goal was to make a brand new template from scratch as much as it was to quickly put something together to get the result he was after. I think in the case of http://pea.rs it is possibly a hacked page of sorts that shows the intro content and is hardwired to work that way. |
Any progress on this issue? Any idea how http://pea.rs was done? |
Any (good) solutions on that one? Anyone knows of a fork which solves that solution? |
Pages (such as a custom front page, like the welcome page at http://pea.rs) do not display the content of the custom HTML or CSS fields because they don't use
loop-single.php
as their template.Is there a way to force a page to use the
loop-single.php
template so we can have fancy front pages like the example pea.rs site? How do they do it?The text was updated successfully, but these errors were encountered: