Viewing 15 replies - 1 through 15 (of 21 total)
  • Don’t edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations.

    Once your child theme is active, we should be able to help you.

    on twentyten, the featured image becomes the header does it not? (I think it does for pages?)

    Just assign a featured image to that page. Make sure the featured image is 940×198 and yer all set

    Thread Starter evoulie

    (@evoulie)

    @rev. Voodoo: I know that. I meant that I wanted to change the logo for that one page. If you go to my site theres a logo that says Churro Blog on it. I want that to be changed, but just for that one page. Can I use a page template for that?

    Thread Starter evoulie

    (@evoulie)

    @esmi I read that link about child themes, but I’m completely confused at how to make a child theme. Please help ??

    Thread Starter evoulie

    (@evoulie)

    Read it again. Think I may understand it now.

    Thread Starter evoulie

    (@evoulie)

    Loat again. How would I put stuff for the header and stylesheet in the child theme?

    By creating a custom header.php file in your child theme. I’d suggest that you start by simply copying the header.php from Twenty Ten into your child theme and then begin tweaking this copy.

    Thread Starter evoulie

    (@evoulie)

    I tried making a child theme like you said but when I activated it it broke my site. (site is fixed, by the way). Help! ??

    Sounds like you introduced an error in your child’s header.php template file.

    Thread Starter evoulie

    (@evoulie)

    What does that mean? And how would I have done that?

    Did you add – and customise – a header.php template file in your child theme? If so, your customisations included an error.

    Thread Starter evoulie

    (@evoulie)

    In my header.php I had this:

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    <a rel="" href="https://churroblog.com" title="Churro Blog"><span class"navigation_spacer"><img src="https://churroblog.com/wp-content/uploads/2011/04/churrobloglogo_since2008-v2.png" border="0" alt="Churro Blog" /></span></a></center>

    [Please post code snippets between backticks or use the code button.]

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    <a href="https://churroblog.com" title="Churro Blog"><span class"navigation_spacer"><img src="https://churroblog.com/wp-content/uploads/2011/04/churrobloglogo_since2008-v2.png"  alt="Churro Blog" /></span></a>

    Try re-creating the header.php file.

    Thread Starter evoulie

    (@evoulie)

    I did that. The end of the code was cut off and I couldn’t see it cause I’m on my phone and wordpress support is blocked on this computer. So, hopefully it’s right. And it still breaks the site. You can go to churroblog.com and see it if you’d like.

    The comment block in your theme’s style.css file seems to be malformed and there’s a problem in the child’s loop.php file.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Templates for Pages in Twenty Ten Theme’ is closed to new replies.