[SOLVED] Widget into a page AND how to turn them on???
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! |
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. |
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. |
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). |
Quote:
HTML Code:
<?php if (is_page( 9 )) { bfa_widget_area('name=My new widget area'); }; ?> |
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? |
Sorry, I should have included by website URL..
http://pineknotfarmandlab.com |
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 |
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. |
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?
|
Quote:
|
the gap is caused by the 'height=...' you put in your table rows
|
Quote:
|
Try removing the height for the table.
|
Since you have a height on the TD's the height on all of them needs to be the same
|
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:
|
Quote:
|
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.
|
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.
|
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? |
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.
|
no that made it even lower
|
why do you have a height on the table?
|
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. |
All times are GMT -6. The time now is 09:46 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.