Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Widget on Homepage


  #1  
Old Jun 10, 2011, 04:36 AM
fotomag
 
25 posts · Feb 2009
Atahualpa 367
I have created new widget area in Footer. I want to display this widget on homepage only. How I can do it?
  #2  
Old Jun 10, 2011, 04:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There are several ways. One was is to create two CSS Selectors/rules targeting this element. On the first put 'display: block;' on the second put 'display:none;' and add 'body.home' as the beginning part of the second selector/rule
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 10, 2011, 05:07 AM
fotomag
 
25 posts · Feb 2009
I did not understand this method. Could you describe another ways?
  #4  
Old Jun 10, 2011, 05:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you could add logic to the code creating the widget to only display it on the home page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 10, 2011, 05:52 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You could also add a plugin such as Display Widgets that lets you hide or show what you put in the widget area on certain pages.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Jun 10, 2011, 06:01 AM
fotomag
 
25 posts · Feb 2009
I understood about Display widget plugin. But could you describe in details what you mean about "ADD logic code"?
  #7  
Old Jun 10, 2011, 06:05 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Logic code is described here but if you are using 3.6.7 this will not work.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Jun 10, 2011, 06:11 AM
fotomag
 
25 posts · Feb 2009
It means I can make it by Display widget plugin only? What's right?
  #9  
Old Jun 10, 2011, 06:23 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
The display widget plugin will give you fields on all your widgets to let you choose which pages they show. You should just install it and take a look. That will make it clear.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget background image only working on homepage implet Sidebars & Widgets 3 Jan 17, 2011 05:43 AM
KICKER: Homepage %category-linked"% causes right sidebars to disappear from homepage Jazoja Post-Kicker, -Byline & -Footer 2 Jun 23, 2010 05:32 PM
[SOLVED] New Widget show only on homepage? blueprairie Sidebars & Widgets 2 Mar 2, 2010 02:46 PM
How do I find my homepage id so a widget appears there? gaz7575 Atahualpa 3 Wordpress theme 5 Oct 15, 2009 03:12 PM
BFA_recent-comments widget is only showing on HOMEPAGE cosmiclove Forum How-To 1 Aug 8, 2009 04:33 AM


All times are GMT -6. The time now is 02:12 PM.


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