756 pointsLike some sort of WPMU DEV God"I'm helpful
Kirk Ward
Member
—
30th March 2010 17:01
I have the "Blog Template" plugin installed and am creating a blog to clone. For my sites, I am customizing the footer in all available themes to include links to FTC required disclosures. I want these disclosure pages to be included as part of the new blog template so that the blogger can use the "Custom Header" plugin to have the header match their site. Since these pages are generally required by the FTC and other scary type entities, I will be using the "wpmu-protect-pages" plugin to keep the blogger from deleting these pages.
My question is, how would I code the links in the footer so that they link to the subdomain page rather than the page in the site admin blog, where it will show my header? The WpmuDev TOS plugin doesn't seem to be what I need to keep these pages showing in the footer.
All suggestions and guidance gratefully appreciated.
I have the "Blog Template" plugin installed and am creating a blog to clone. For my sites, I am customizing the footer in all available themes to include links to FTC required disclosures. I want these disclosure pages to be included as part of the new blog template so that the blogger can use the "Custom Header" plugin to have the header match their site. Since these pages are generally required by the FTC and other scary type entities, I will be using the "wpmu-protect-pages" plugin to keep the blogger from deleting these pages.
My question is, how would I code the links in the footer so that they link to the subdomain page rather than the page in the site admin blog, where it will show my header? The WpmuDev TOS plugin doesn't seem to be what I need to keep these pages showing in the footer.
All suggestions and guidance gratefully appreciated.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
30th March 2010 18:35
#
We just have a small plugin that hooks to the wp-footer call and have the links hardcoded in that. Some of our installs have link back requirements for one reason or another and that's how we do it.
I just figured out how to do it manually ... thanks to having to learn how to get rid of a bunch of backslashes whilst working on putting links in the TOS (Many, many, thanks to Aaron for his help on that!) and all it required was changing the fully qualified path in the anchor and using the page name.
It was a simple change that gives me a completely customized footer, with resolution across all blogs.
Maybe old dogs can learn new tricks. .... Nah!
PS - DrMike ... that plugin sounds worthwhile. Is that how the "footer content" under site options works?
Responses (8)
Lead Developer — 30th March 2010 17:16 #
You can try this:
http://premium.wpmudev.org/project/footer-content
Or just hardcode the links into your themes. Most likely you will do this in the footer.php file.
Keeper of the Dark Chocolate — 30th March 2010 18:35 #
We just have a small plugin that hooks to the wp-footer call and have the links hardcoded in that. Some of our installs have link back requirements for one reason or another and that's how we do it.
Member — 30th March 2010 20:56 #
I just figured out how to do it manually ... thanks to having to learn how to get rid of a bunch of backslashes whilst working on putting links in the TOS (Many, many, thanks to Aaron for his help on that!) and all it required was changing the fully qualified path in the anchor and using the page name.
It was a simple change that gives me a completely customized footer, with resolution across all blogs.
Maybe old dogs can learn new tricks. .... Nah!
PS - DrMike ... that plugin sounds worthwhile. Is that how the "footer content" under site options works?
Lead Developer — 30th March 2010 21:00 #
Yes, our plugin does what Mike said.
Support Guru — 30th March 2010 22:26 #
If you check the installation page it shows you how you can use it - http://premium.wpmudev.org/project/footer-content/installation/
Keeper of the Dark Chocolate — 30th March 2010 22:47 #
Actually we don;t have the pretty options page on the site admin page. We hardcode directly to the file. Reduces the number of mysql queries.
Keeper of the Dark Chocolate — 30th March 2010 23:07 #
This is what we do:
edit: Looks like the code display is still broken. I'll attach it.
Keeper of the Dark Chocolate — 30th March 2010 23:09 #
Blah blah blah
edit: And txt files aren't allowed. Oh Andrew....
reedit: Can you tell that I'm having a bad day?
Become a member