New P2 + Child Themes = tekArtist Refresh

newui

First theme change since July 2007, I guess I was due. I had told Noël that I’d make the switch to his excellent P2 theme once he released the latest version. Since he did that on Friday, it was my turn to fulfill my end of the deal. I installed P2, made a child theme to start tweaking it to my liking with barely any effort and voilà: simple, clean, effective, I love it!

Comments

6 responses to “New P2 + Child Themes = tekArtist Refresh”

  1. Ted Mann Avatar

    I’m impressed. I attempted to create a P2 child theme today and ran into several snags. For one, the blog keeps thinking I’ve logged out. I have no idea if that’s something possibly caused by the child theme or not, but after narrowing things down again and again, that seems to be the first change that causes things to go haywire. Have you seen any of that in your child theme?

    1. Stephane Daury Avatar

      Hi Ted. Nope, I’ve had no such issue. Strange… On the other hand, note that I do not have any custom PHP as of now. Pure CSS. You can see the stylesheet here: http://tekartist.org/wp-content/themes/stephane/style.css

      I also see no such issue in the forums: http://wordpress.org/tags/p2

      1. Ted Mann Avatar

        I suppose the problems I was having could have had something to do with it being a WordPress MU install. Should have mentioned that before. I tried several times, and took out the functions.php file, but couldn’t get it to work.

        I’ll post something to the forums to see if anyone else has had this problem

        1. Stephane Daury Avatar

          Coincidentally enough, tekartist.org also runs on WPMU. Do post the forum thread here if you have a chance, as you got me curious. 🙂

  2. Scott Semple Avatar
    Scott Semple

    I’m trying to create a P2 child theme and am having some problems. There’s a function in p2/inc/template-tags.php that I’d like to change, but I keep getting a “cannot redeclare” error.

    I thought that once you copy a template file into the child directory that WordPress ignores the parent version. However, that doesn’t seem to be the case here.

    Any ideas? Thanks!

    1. Stephane Daury Avatar

      I’ve actually moved my site to WordPress.com and am not using a child theme any longer (just our CSS upgrade). I saw you also posted it to the P2 forum tag, you’ll likely get an answer there.

Leave a Reply to Ted Mann Cancel reply

Your email address will not be published. Required fields are marked *