Forum Replies Created
-
AuthorPosts
-
jprusinsMember
I would also like to know this, and in my case it's for a multisite installation with subdomains (not subdirectories), in which each subdomain is for a different language, so I would need to be able to have a different translation for each site in the installation.
jprusinsMemberFor anyone else that may be looking for an answer to this issue, I found a very simple solution (after not finding a way to successfully implement the code Lauren suggested above): Studiopress offers a very useful plugin called "Genesis Simple Edits" that easily enables custom footers. I simply network activated the plugin, then put the code for the appropriate footer on each site, and in ten minutes I was done. No need to bring out the elephant gun to kill the mosquito!
jprusinsMemberThanks for the additional help... I'm getting closer! Still not quite there, though... here's what I have:
//*Custom Footer remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'sp_custom_footer' ); function sp_custom_footer() { ?>
followed by an html div that contains the footer content. After the closing div tag I put your code:
global $blog_id; if ($blog_id == 7) {
followed by a div that contains the footer content that I only want to show on blog ID#7. That is then followed by
} <?php }
which is the code that followed the original (working) div, preceded by the closing bracket from your code.
This all works well, except that I now have both footers on all sites in the multisite setup, instead of the second footer only appearing on blog ID#7.
Any ideas? Thanks!!
jprusinsMemberThanks Lauren, that sounds like what I would want to do, but knowing how to do it is a bit above my pay grade! So should I set the conditional (I guess I can look up the syntax for that?) in the footer section of functions.php? I'm more of a cut&paste coder than a real one, so I need more info to start with!
thx,
John.jprusinsMemberSorry, here's the link to my site (in development): http://bearmountaingroup.net/tergar.dev
-
AuthorPosts