1. Am I allowed to remove the remove/replace the WordPress footer in TwentyTen?
if so...
2. How do I remove/replace the WordPress footer in TwentyTen with a nifty functions-piece-of-code thingy.
Love you all
Pete :)
1. Am I allowed to remove the remove/replace the WordPress footer in TwentyTen?
if so...
2. How do I remove/replace the WordPress footer in TwentyTen with a nifty functions-piece-of-code thingy.
Love you all
Pete :)
I want to use functions.php as when I update the theme I lose any manual changes to the theme itself
bump :)
http://www.mahalasa.org/index.php: The footer is properly aligned on my home page, but way off on other pages? How can I fix this?
OK, I got it by adding the following:
/* =Footer
-------------------------------------------------------------- */
#footer {background: #728E86 url(images/footerbg.gif) repeat-x;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
Please don't hijack posts with a different topic
This does it...
// Adds css to the theme
function custom_colors() {
global $user_level;
if ($user_level != '10' ) {
echo '<style type="text/css">
#site-generator {display:none;}
</style>';
}
}
add_action('wp_head', 'custom_colors');what file is that?
I posted this in the functions.php file but i see it gets replaced when the theme gets updated. Still it's not hard to paste into the file each time
Make a child theme :)
no idea how to do 'em
http://codex.wordpress.org/Child_Themes
(which is the first hit off a google of 'WordPress Child Theme' by the way)
So could I effectively make a new child theme without any changes and just have a new functions.php file with the added code above?
And a style.css to tell it where the parent is, yes :)
And never worry about a theme upgrade killing your changes again :)
cool I'll give it ago :)
It worked!!! whoo hooo. This child theme stuff could be pretty cool hey! ;)
perthmetro -- I couldn't get the php solution you posted above to work properly. But one quicky CSS style change turns out to work just fine.
Simply add:
#site-generator { display:none; }
to your style.css file. And voila!, it be gone!
(As advised by ipstenu, best to use child themes of twentyten for this & any other style changes.)
This topic has been closed to new replies.