43 pointsStarting to get into this DEV thingI'm new here
sadov88
Member
—
1st October 2009 (2 years ago)
Hi, i've installed the global footer plug in for MU and have successfully placed a global footer on all blogs however it still includes the "Powered by WordPress MU and WP.MU"
and also the "My Chiroblog is proudly powered by WordPress MU running on Dr. Sadovnik's Free ChiroBlogs. Create a new blog and join in the fun! "
Hi, i've installed the global footer plug in for MU and have successfully placed a global footer on all blogs however it still includes the "Powered by WordPress MU and WP.MU"
and also the "My Chiroblog is proudly powered by WordPress MU running on Dr. Sadovnik's Free ChiroBlogs. Create a new blog and join in the fun! "
Related, is it possible to have the php that generates the blog name and url in the global footer text? I left it in initially and it seemed to just be ignored. Blogname for example returned blank even thought the php was in the footer.
reedit: For those keeping track at home, we've added to the header.php file a check for any robots.txt information hardcoded into a meta tag. There's been a rash of those recently. (ie One theme designer did it and a bunch more ripped off the theme but left that line in there.)
Not sure if that is what I was thinking. I was thinking more can I go into a standard theme footer and copy it out wholesale (including the <?php ?> bits) and have it work? Barring that, how does one go about using the global footer plugin to replicate the default footer which includes blog name and site name with the addition of some stuff like legal bits? Thanks.
7430 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Erstwhile founder
—
1st October 2009 (2 years ago)
#
I was thinking more can I go into a standard theme footer and copy it out wholesale (including the <?php ?> bits) and have it work?
If you remove footer elements from a theme be sure to leave the do_action('wp_footer') section. Otherwise some plugins will not function properly.
Barring that, how does one go about using the global footer plugin to replicate the default footer which includes blog name and site name with the addition of some stuff like legal bits?
The global footer content plugin just allows you to add to the footer, not replace it. It uses the wp_footer hook mentioned above.
So all help worked great. I was able to resolve everything save for one aspect.
The following "XXX is proudly powered by WordPress MU running on xxx.com. Create a new blog and join in the fun!" is still appearing in the footer of my primary domain where MU is installed.
Responses (10)
Erstwhile founder — 1st October 2009 (2 years ago) #
Hiya,
It's really not necessary to have '!??' in the title. As for the problem, try removing wp.mu.php from mu-plugins.
Thanks,
Andrew
Member — 1st October 2009 (2 years ago) #
Related, is it possible to have the php that generates the blog name and url in the global footer text? I left it in initially and it seemed to just be ignored. Blogname for example returned blank even thought the php was in the footer.
Member — 1st October 2009 (2 years ago) #
Thanks.
Sorry for the excitement :-) Now I know.
Erstwhile founder — 1st October 2009 (2 years ago) #
Hiya,
I'm not really sure what you mean to be honest.
you get add pretty much anything you want to the blog footers like this:
add_action('wp_footer', 'additional_footer_content');
function additional_footer_content() {
echo '' . get_option('blogname') . '';
}
Thanks,
Andrew
Member — 1st October 2009 (2 years ago) #
Hi, Andrew,
Thanks that worked great. However, i'm still seeing "XXXX is proudly powered by WordPress MU running on XXXX. Create a new blog and join in the fun! "
Any way to remove that?
Thanks.
Keeper of the Dark Chocolate — 1st October 2009 (2 years ago) #
We edit the theme. It's one of the items on our checklist we have for new themes. Give me a second and I'll find the thread.
edit: Found: http://premium.wpmudev.org/forums/topic/theme-pack-links
reedit: For those keeping track at home, we've added to the header.php file a check for any robots.txt information hardcoded into a meta tag. There's been a rash of those recently. (ie One theme designer did it and a bunch more ripped off the theme but left that line in there.)
Member — 1st October 2009 (2 years ago) #
Andrew,
Not sure if that is what I was thinking. I was thinking more can I go into a standard theme footer and copy it out wholesale (including the <?php ?> bits) and have it work? Barring that, how does one go about using the global footer plugin to replicate the default footer which includes blog name and site name with the addition of some stuff like legal bits? Thanks.
Erstwhile founder — 1st October 2009 (2 years ago) #
If you remove footer elements from a theme be sure to leave the do_action('wp_footer') section. Otherwise some plugins will not function properly.
The global footer content plugin just allows you to add to the footer, not replace it. It uses the wp_footer hook mentioned above.
Thanks,
Andrew
Member — 4th October 2009 (2 years ago) #
Hi, Again,
So all help worked great. I was able to resolve everything save for one aspect.
The following "XXX is proudly powered by WordPress MU running on xxx.com. Create a new blog and join in the fun!" is still appearing in the footer of my primary domain where MU is installed.
How to remove?
Thanks.
Erstwhile founder — 4th October 2009 (2 years ago) #
That's usually located in the footer file for each theme. You'll have to edit the file to remove it.
Thanks,
Andrew
Become a member