60 pointsSerious WPMU DEV-sterI'm new here
energyrater
Member
—
14th November 2009 14:00
What would be a few samples of Global Footer Hooks to place site statistics, etc. site wide on, of course, the footer of each page. That's a great marketing function (global footer) and could be a powerful branding tool.
What would be a few samples of Global Footer Hooks to place site statistics, etc. site wide on, of course, the footer of each page. That's a great marketing function (global footer) and could be a powerful branding tool.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
14th November 2009 20:59
#
Are you just asking for how to set one up or suggestions on what to use one for?
Only thing we really have for a global footer plugin, outside of plugins that do their thing themselves like the Google Analytics one, is a random script that displays one of a number different links pointing back to the installs home page. We make the wording random in a hopeful attempt to get the search engine spiders to pay attention. It's basically the tips plugin from here with some renaming and a change in the hook call.
When I downloaded the Global Footer Plugin I read this:
Description:
Simply insert any code that you like into the footer of every blog via site admin > options... works great for stats, in text advertising, popovers and more!
I was thinking that the footer area could hold stats about a particular blog or the global site. Something like:
Total Blogs: 14 | Total Blog Posts: 459 | Most Read Blog: The Energy Rater
And I actually thought that is what the description was mentioning and if so I was wondering how to draw that kind of info from the main site.
I might have misread the intent of the plug-in description.
The global footer plugin just allows you to place HTML in the footer. Stuff like 'powered by xyz.com' or a link to your support forums.
What you've described above is certainly possible but you'll need a custom plugin I'm afraid. You would also need to integrate with a stats system to determine the 'most read blog'.
I've placed info in the Global Footer. It looks like the alignment is being controled by the div .aleft? (I have Firefox and used Firebug to check the element)
in your plug-in Global Footer, is the footer default placement div#footer-content? I'm trying to align the logo center of the footer...
Our plugin uses the wp_footer hook. The placement of that hook is determined by the theme. So you need to look in the theme footer. It's usually called footer.php (usually).
Responses (6)
Erstwhile founder — 14th November 2009 20:17 #
Hiya,
I'm afraid I don't understand what you're asking. Could you please explain in more detail?
Thanks,
Andrew
Keeper of the Dark Chocolate — 14th November 2009 20:59 #
Are you just asking for how to set one up or suggestions on what to use one for?
Only thing we really have for a global footer plugin, outside of plugins that do their thing themselves like the Google Analytics one, is a random script that displays one of a number different links pointing back to the installs home page. We make the wording random in a hopeful attempt to get the search engine spiders to pay attention. It's basically the tips plugin from here with some renaming and a change in the hook call.
Member — 15th November 2009 04:36 #
When I downloaded the Global Footer Plugin I read this:
I was thinking that the footer area could hold stats about a particular blog or the global site. Something like:
Total Blogs: 14 | Total Blog Posts: 459 | Most Read Blog: The Energy Rater
And I actually thought that is what the description was mentioning and if so I was wondering how to draw that kind of info from the main site.
I might have misread the intent of the plug-in description.
gs
Erstwhile founder — 15th November 2009 04:41 #
Hiya,
The global footer plugin just allows you to place HTML in the footer. Stuff like 'powered by xyz.com' or a link to your support forums.
What you've described above is certainly possible but you'll need a custom plugin I'm afraid. You would also need to integrate with a stats system to determine the 'most read blog'.
Thanks,
Andrew
Member — 15th November 2009 19:51 #
I've placed info in the Global Footer. It looks like the alignment is being controled by the div .aleft? (I have Firefox and used Firebug to check the element)
in your plug-in Global Footer, is the footer default placement div#footer-content? I'm trying to align the logo center of the footer...
can you share some insight?
gs
Erstwhile founder — 15th November 2009 20:05 #
Hiya,
Our plugin uses the wp_footer hook. The placement of that hook is determined by the theme. So you need to look in the theme footer. It's usually called footer.php (usually).
Thanks,
Andrew
Become a member