Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLuisa Nino
1,532 PointsFooter in my website
I have tried to add some static text on the footer of my website. I made a child theme for 2012, but maybe my child theme is not overriding the original footer or something because there is nothing that appears. I added Google Analytics and it doesn't seemed to be installed.
Do I make sense? Can anyone give me some pointers? my site is variableskies.com
Thanks!
4 Answers
Adam Moore
15,825 PointsSo you're using WordPress... You have a theme and you want to add content to or override the footer? Are you doing this in the theme folder and changing the markup in the footer.php file? More info might be useful.
Luisa Nino
1,532 PointsYup, I made child theme off of Twenty Twelve, I want to add some text at the bottom, some links and a copyright notice. I wrote everything in the footer.php file (of my child theme) but nothing showed up. I also tried to add my google analytics code and it still appears as uninstalled in my Google dashboard.
I also tried the Insert headers and footers plugin but that didn't work either.
I made a test on the parent theme footer.php file too, I added a little text, but no go..
Thanks.
Adam Moore
15,825 PointsHmm.. Not sure. Sounds like you might have made the child theme but don't have it actually enabled or something so WP is still seeing the original and not your child...
Zac Gordon
Treehouse Guest TeacherDo any of the other child theme overrides show up?
Luisa Nino
1,532 PointsWell, all my CSS overrides fine, I added the google analytics script to the header instead of the footer and it worked.. so I'm not sure what the deal with the footer is.
I wanted to add some content blocks to my main page but I'mnot sure where I should add them. Maybe I need to create a new template just for that main page that includes my content blocks?
Zac Gordon
Treehouse Guest TeacherYes, that may be an approach that works. I'd try deleting the footer.php file, copy it from the main theme and paste it into your theme again to see if that fixes it.