Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Footer content different on home page only (http://forum.bytesforall.com/showthread.php?t=23216)

morgana123 Jun 15, 2015 12:13 PM

[SOLVED] Footer content different on home page only
 
Hi all,

Please, how would I have one footer content at the bottom of the home page and a different foot content on all other pages? Using WP 4.2.2 and ATA 3.7.23. Please point me toward the relevant thread if this has already been answered, which I imagine is the case. Many Thanks (and frequent donations)!!

morgana123

morgana123 Jun 15, 2015 01:17 PM

And I just donated again a few minutes ago. You guys do great work! :)

juggledad Jun 15, 2015 01:42 PM

here's two ways
1) use a footer widget area. Add two widgets with the content - use the plugin 'widget logic' or 'visual widget logic' to control when to display each widget

2) add the info in atwo div's with a class like 'show-on-home; and 'show-on-others' then in the css use
HTML Code:

div.show-on-others {display: block;}
div.show-on-home  {display: none;}

body.home div.show-on-others {display: none;}
body.home div.show-on-home  {display: block;}


morgana123 Jun 16, 2015 06:45 AM

Thank you VERY MUCH once again, Juggledad! I didn't use exactly what you suggested, but it got me thinking a little bit more and was able to use your suggestion plus a bit more from my own thoughts (Yay! ;) ), and it now functions the way my customer wished. All's well! :)


All times are GMT -6. The time now is 01:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.