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 »

Placing widgets on pages


  #26  
Old Jan 27, 2010, 07:48 AM
michael1
 
3 posts · Dec 2009
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!!!
  #27  
Old Jan 27, 2010, 11:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
please paste the code 10 lines before and after line 63. This looks like a syntax or typo error
__________________
"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; Mar 2, 2010 at 05:31 AM.
  #28  
Old Jan 27, 2010, 11:53 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Have you thought of just putting the new widget code into the ATO->Edit POST/PAGE INFO ITEMS->KICKER: "Page" Pages?
__________________
"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; Mar 2, 2010 at 05:29 AM.
  #29  
Old Jan 27, 2010, 12:16 PM
geektink
 
2 posts · Jan 2010
Atlanta, GA
Quote:
Originally Posted by juggledad
Have you thought of just putting the new widget code into the aot->Edit POST/PAGE INFO ITEMS->KICKER: "Page" Pages?
Could you please explain this in more depth?
Thanks in advance.
  #30  
Old Mar 1, 2010, 10:55 PM
georgiamarie
 
1 posts · Mar 2010
Quote:
Originally Posted by geektink
Quote:
Originally Posted by juggledad
Quote:
Originally Posted by geektink
Can you add center widgets to other pages besides the front page?

Have you thought of just putting the new widget code into the aot->Edit POST/PAGE INFO ITEMS->KICKER: "Page" Pages?
Could you please explain this in more depth?
Thanks in advance.
I think I have a similar request. I want the 'Archives' widget to be displayed in the main content column on a Page I have created called 'Archives' which also has some text on it.

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?
  #31  
Old Mar 2, 2010, 05:44 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 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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #32  
Old May 27, 2010, 12:12 PM
Tesha
 
26 posts · May 2010
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..

Last edited by Tesha; May 27, 2010 at 02:20 PM. Reason: working the issue... more
  #33  
Old May 27, 2010, 01:48 PM
chipcain
 
9 posts · May 2010
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
  #34  
Old May 27, 2010, 01:56 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
There may be other ways but putting the following in CSS Inserts should work.
HTML Code:
.ngg-widget, .ngg-widget-slideshow {
text-align:center;
}
[moderator note: I changed 'text-align:center:' to 'text-align:center;' to prevent future readers from getting the error described in the next couple of posts]
__________________
~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 juggledad; May 28, 2010 at 05:11 AM.
  #35  
Old May 27, 2010, 02:07 PM
chipcain
 
9 posts · May 2010
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.
  #36  
Old May 27, 2010, 02:17 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
It's in ATO>Add HTML/CSS Inserts>CSS Inserts
__________________
~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.
  #37  
Old May 27, 2010, 02:40 PM
chipcain
 
9 posts · May 2010
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
  #38  
Old May 27, 2010, 02:45 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You have to put it in the last section under Body Bottom called CSS Inserts
__________________
~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.
  #39  
Old May 27, 2010, 03:02 PM
chipcain
 
9 posts · May 2010
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.
  #40  
Old May 27, 2010, 03:29 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I hate typos like that... Sorry
__________________
~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.
  #41  
Old May 27, 2010, 07:11 PM
chipcain
 
9 posts · May 2010
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?
  #42  
Old May 27, 2010, 07:47 PM
chipcain
 
9 posts · May 2010
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.
  #43  
Old May 27, 2010, 08:08 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
What you are doing with that code is centering the slideshow within the widget. That's why you needed that other code.
__________________
~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.
  #44  
Old Aug 13, 2010, 05:06 PM
lblblog
 
7 posts · Aug 2010
any recommendations for a plugin to make a custom widget in the body of a page?
  #45  
Old Aug 13, 2010, 08:33 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How about the Widgets on Pages plugin?
__________________
~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.
  #46  
Old Nov 1, 2010, 02:06 PM
robertdowne
 
1 posts · Nov 2010
UK
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.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing cells within the pages of my site nickcee Atahualpa 3 Wordpress theme 14 May 22, 2009 02:13 AM
Problem Customizing Widgets on Different Pages davidferris Sidebars & Widgets 1 Apr 27, 2009 09:00 PM
Need help creating pages with custom settings and widgets Humphrey Sidebars & Widgets 1 Apr 21, 2009 10:14 AM
Widgets produce blank pages - how can I fix this? bjt1t2t3 Sidebars & Widgets 0 Mar 15, 2009 11:05 AM
Widgets on Pages (or not) Steve_T Sidebars & Widgets 3 Feb 10, 2009 09:13 AM


All times are GMT -6. The time now is 08:38 AM.


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