I tried placing the code shown in the function.php file.
I now have the following error... Parse error: syntax error, unexpected '}' in /home/michae78/public_html/wp-content/themes/atahualpa/functions.php on line 63 Please Help!!! |
please paste the code 10 lines before and after line 63. This looks like a syntax or typo error
|
Have you thought of just putting the new widget code into the ATO->Edit POST/PAGE INFO ITEMS->KICKER: "Page" Pages?
|
Quote:
Thanks in advance. |
Quote:
I understand how to create additional areas to dump the widgets (eg sidebar 3 type thing) as explained earlier in tjhis thread. But I want to know if I can get this 'sidebar 3' to show up in the content area of one page, and one page only, that is not the front page. Anyone know how? :) |
there are several ways you can put a widget in the content area of a page
one way is to put a new widget area in the KICKER or BYLINE or FOOTER "Page" Pages area you could also add it to the center area as explained in the New Widgits Option area To only have the widget display on a single page, you will need to add eithor some logic to prevent the display on other pages or a CSS Selector to only display it on one page. |
So I have my new widget, and have inserted new CSS and the designer wants it placed in the center at the top and for it to be able to be excluded on some pages.
........ never mind... I got it.. |
I'm a bit baffled. I have read through all the post in this thread and can't find what I think I need. I am running Atahualpa 3.4.9 and WordPress 3.0-beta2-14960.
I created a widget area in my footer and added NextGen Widget Gallery. The widget works fine but I can't seem to be able to center the widget to the page. Here is the link: http://hcc.creativeashes.com/ I am trying to develope something a lot prettier than what we have now: http://www.harrisburgcameraclub.com/hcc/home.asp Any help here will be appreciated. Thanks, Chip |
There may be other ways but putting the following in CSS Inserts should work.
HTML Code:
.ngg-widget, .ngg-widget-slideshow { |
Thanks for such a quick response Larry. I'm a bit embarrased to admit that I am not familiar where I can place this bit of HTML code? I tried to place in within the HTML insert options provided in the theme settings but none seem to fix my problem.
|
It's in ATO>Add HTML/CSS Inserts>CSS Inserts
|
That is where I thought it should go, but it doesn't seem to work, irregardless of the HTML Inserts sections I place it in (Header, Body Tag, Body Top or Body Bottom).
Hmmm |
You have to put it in the last section under Body Bottom called CSS Inserts
|
Ahah! Once I corrected your colon after "Center" to a semi-colon it worked as you said it would.
Thanks bunches Larry, your help is greatly appreciated. |
I hate typos like that... Sorry
|
Well, typos aside your help was just that.
Now I have tested the code against Firefox and Chrome which seems to be ignoring the html code. IE8 works just fine. Any thoughts anyone? |
I figured it out:at least it seems so.
I had taken out the ".ngg-widget-slideshow" figuring I only wanted the widget. When I added it back in all is working just fine: wierd. |
What you are doing with that code is centering the slideshow within the widget. That's why you needed that other code.
|
any recommendations for a plugin to make a custom widget in the body of a page?
|
How about the Widgets on Pages plugin?
|
I've been following this thread as I was looking to do something similar. I didn't know about the Widgets On Pages plugin.
That could be very useful. :) |
All times are GMT -6. The time now is 11:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.