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 »

[SOLVED] Widget into a page AND how to turn them on???


  #1  
Old Jun 28, 2012, 01:46 PM
juliejulie
 
9 posts · Jan 2012
Hi,

Loving the Atahualpa theme! But, in the widget admin page, I have widget areas 1-4 listed as options, but when I put something in those boxes, it doesn't show up anywhere on my website. How do I add those areas?

Also, is it possible to put a widget/plugin on a specific page? Is there some easy way to make this happen (I don't know php). What about adding to the center column?

I read through some of the posts and they were either over my head or I didn't find a simple answer to the above....

Thanks in advance!
  #2  
Old Jun 28, 2012, 02:32 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Where did you put the new widget area code? As for having them on particular pages you might use a plugin such as "Display Widgets" and set the widget in question to display on that page.

I have seen plugins that allow you to put widgets on pages but putting one in the center column would mean editing a theme file.
__________________
~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.

Last edited by lmilesw; Oct 9, 2012 at 08:35 AM.
  #3  
Old Jun 28, 2012, 05:30 PM
juliejulie
 
9 posts · Jan 2012
Thank you for the response! Will check out those plugins.

I didn't know I had to put widget code anywhere - is there an easy way to show me how? Apologies if this is answered elsewhere....I didn't come across it in my search.
  #4  
Old Jun 28, 2012, 05:39 PM
juliejulie
 
9 posts · Jan 2012
I am already using dynamic widgets plugin so I can modify the widgets in the sidebar by page/post.

I want to do something like have the center column have a static paragraph then have the widget just below it listing recent posts in a particular category.

I have a work-around now where I have put an inner side bar so I have a text widget above the recent posts widget, but the formatting is not uniform with my website overall and per another post, I'm having troubles eliminating that sidebar from my Business Directory listings pages (I would have to do it one by one for thousands of listings and every new listing that is added, modify that by hand too).
  #5  
Old Jun 28, 2012, 07:41 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
is it possible to put a widget/plugin on a specific page?
yes, put it in index.php and wrap it in a php IF statement checking to see if it is on the correct page. for example
HTML Code:
<?php if (is_page( 9 )) { bfa_widget_area('name=My new widget area'); };  ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 28, 2012 at 07:51 PM.
  #6  
Old Sep 18, 2012, 10:55 AM
siefert
 
21 posts · Dec 2009
I am also having trouble getting a widget area to show up in the center column on my static front page. I am using the latest version of Atahualpa and Wordpress.

In the option Appearance->Widgets, I see the center column loop widget area. I have added a widget there, Recent posts, and used Dynamic Widgets to assign it to the front page. But it doesn't show up.

Am i misunderstanding how to do this?
Am I missing another step?
  #7  
Old Sep 18, 2012, 10:55 AM
siefert
 
21 posts · Dec 2009
Sorry, I should have included by website URL..
http://pineknotfarmandlab.com
  #8  
Old Sep 18, 2012, 11:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
does it show if you take out the dynamic widget condition?
what condition do you have?
do you know the differenct between the 'home' page and the 'front page'? (Might want to do a google search
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Sep 18, 2012, 10:27 PM
siefert
 
21 posts · Dec 2009
I decided to try the workaround that Julie julie had, using a inner sidebar. But now the widget in the center column is showing up although I deleted it.

I think I know the difference between the home page and the front page.
  #10  
Old Sep 18, 2012, 10:52 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Did you delete both the code and go to the Add new widget area section of the theme options and delete the widget area from there as well?
__________________
~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.
  #11  
Old Oct 9, 2012, 07:35 AM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
Quote:
Originally Posted by lmilesw
Where did you put the new widget area code? As for having them on particular pages you might use a plugin such as "Display Widgets" and set the widget in question to display on that page.

I have seen plugins that allow you to put widgets on pages but putting one in the center column would mean editing a theme file.
this is a great little plugin using it in WordPress 3.4.2 with Atahualpa Version 3.7.9 but can't figure where to adjust the gap between the widget and the menu bar, my build is here http://stevenpotter.com.au/test/ any pointers?

Last edited by lmilesw; Oct 9, 2012 at 08:35 AM.
  #12  
Old Oct 9, 2012, 07:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the gap is caused by the 'height=...' you put in your table rows
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #13  
Old Oct 9, 2012, 08:29 AM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
Quote:
Originally Posted by juggledad
the gap is caused by the 'height=...' you put in your table rows
but it seems no matter how I change it the gap does not close
  #14  
Old Oct 9, 2012, 08:47 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Try removing the height for the table.
__________________
~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.
  #15  
Old Oct 9, 2012, 09:02 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Since you have a height on the TD's the height on all of them needs to be the same
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #16  
Old Oct 9, 2012, 09:41 AM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
if I remove the height its way small I now have all td's same hight but have realised it's the span pos absolute that's not behaving itself <span style="position: absolute; left: 12; top: 12; z-index: -1"><img border="0" src="images/img1.png" width="314" height="319"></span> seems to ignore (almost) any number I put in for top:
  #17  
Old Oct 9, 2012, 10:18 AM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
Quote:
Originally Posted by stevinoz
<span style="position: absolute; left: 12; top: 12; z-index: -1"><img border="0" src="images/img1.png" width="314" height="319"></span>
maybe there is a better place to put this code but so it works on the front page only at the moment I have removed it, any suggestions?
  #18  
Old Oct 9, 2012, 11:02 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I didn't say to remove it, just make it smaller - FireBug in firefox is a wonderful tool for testing things like this. You colud remove it then use CSS to style it with the benefit of having one place to change the height of them all.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #19  
Old Oct 9, 2012, 06:21 PM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
doesn't make any difference what size I make the table there is still the gap between the menu and the picture I use firebug as well but it doesn't really show the settings for why the picture is making the gap, I'll put it back and made the table 19px smaller(300), see if you can see the picture problem.
  #20  
Old Oct 9, 2012, 06:38 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
in your table you have a <img...> what settings do you have for that?
you also have some <p>'s and there is CSS effecting them
and why do you have a height on the table?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Oct 9, 2012 at 06:57 PM.
  #21  
Old Oct 9, 2012, 06:59 PM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
that's the pic that is lower than the top of the table with code <span style="position: absolute; left: 12; top: 12; z-index: -1"><img border="0" src="images/img1.png" width="314" height="319"></span> if I change top: 12; to 0 then it jumps to the top of the page, I'll remove the <p> tag and see what happens.
  #22  
Old Oct 9, 2012, 07:04 PM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
no that made it even lower
  #23  
Old Oct 9, 2012, 07:54 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
why do you have a height on the table?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #24  
Old Oct 9, 2012, 08:22 PM
stevinoz
 
61 posts · Sep 2012
Send a message via Skype™ to stevinoz
well, needed the right hight for the whole area but simply move that hight to the inside table and hey look at that it worked! That was amazing and for me somewhat unexpected, is that happening because its a wordpress thing, a table thing, it still has the same hight just in a different place, or is this a learnt experience thing?
A Big Thanks by the way.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to turn link of pages in page menu on or off e.g. turn parent off & child on Deansta22 Page & Category Menu Bars 8 Jan 18, 2011 03:01 PM
[SOLVED] Problem! I cann't turn off the link to first level parent page in Page Menu majia Page & Category Menu Bars 2 Jul 3, 2010 10:35 AM
Turn off all CSS Styles in Widget Content Container ByteMining Sidebars & Widgets 0 Jan 17, 2010 12:53 PM
Help me figure out how to turn off page titles on one page only mkhobson Customization, Design, Programming... 11 Sep 7, 2009 12:09 PM


All times are GMT -6. The time now is 01:50 PM.


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