Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Widget in central column


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 14, 2011, 06:26 AM
Fennec 88
 
7 posts · Dec 2011
France
Hello!
I use the 4 Sidebars (Left & Right sidebars + Left & Right Inner sidebars) and the central column of the topic. I have create a news Central “Widget Aera” named “Central column widget area” in the central column of my home page while following the instruction of the ATO, it is quite visible in the Widgets section.
I placed the widget Alkivia SidePosts in this new zone and parameterized this widget for one category of articles. Only thing which appears in the central column it is “NOT FOUND” and I cannot what make!
Thank you to help me.
I use the topic Atahualpa 3.7.3 - Wordpress 3.3 in Localhost (Wampserver 2.1 / Php 5.3.5 / MySql 5.5.8) Widgets used: Ajax Calendar Event / Alkivia SidePosts / GoGadget Weather / WP Optimize / WP Table Relaoded

Last edited by Fennec 88; Dec 14, 2011 at 06:34 AM.
  #2  
Old Dec 14, 2011, 06:47 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Quote:
I have create a news Central “Widget Aera” named “Central column widget area”
where exactly did you put the new widget code to create this area?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 14, 2011, 10:30 AM
Fennec 88
 
7 posts · Dec 2011
France
Hello Juggledad
In ATO, I placed the following code <? php bfa_widget_area (“name=Central column widget area”); ?>
in: CENTER COLUMN => Style & edit CENTER COLUMN => CENTER COLUMN STYLE (after padding: 10px 15px
The news “widget area” indeed was created and appears in “Add new widget area” or it be possible to remove it.
Thanks for your help.
  #4  
Old Dec 14, 2011, 12:08 PM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Hmmm you should not be able to put it there, let me check that. It will be a bit since I'm on grandpa duty right now
__________________
"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; Dec 14, 2011 at 01:35 PM.
  #5  
Old Dec 14, 2011, 01:00 PM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Nope, that code in the style doesn't create it or me. It maybe you had created it before the upgrade.

If you want a widget area in the center area, you have to edit index.php because of the Wordpress requirements.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Dec 14, 2011, 01:33 PM
Fennec 88
 
7 posts · Dec 2011
France
Thank you Juggeldad
I will test that, but I am initial on the matter then I am not certain result
  #7  
Old Dec 14, 2011, 03:50 PM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
In 3.7.3 put that line of code right AFTER line 15 which should be
HTML Code:
<?php while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Dec 16, 2011, 06:24 AM
Fennec 88
 
7 posts · Dec 2011
France
Hello Juggeldad

After several research with Google I found a blog which dealt with my problem: http://axelweb.net/wordpress. (In French, but I am French!)

In the file “functions.php” of the topic Atahualpa 3.7.3 (line 48) I placed the following code:

register_sidebar (array (

'name'=> “Center column”,

“before_widget” => '<div id= " %1$s " class= " widget %2$s "> ',

“after_widget” => '</div> ',

“before_title” => '<div class= " widget-">< h3> ',

“after_title” => '</h3>< /div> ',

));

Then in the file “index.php” Atahualpa 3.7.3 (Line 6) the following code:

<? php if (function_exists (“dynamic_sidebar”) &&

dynamic_sidebar (“Center column”)

) : else: ?>

<! - Widgets of the block center column ->

<? php endif; ?>

The widgets installed appear in the central column in the same way that in the “side bars” as I wished it.

Still thank you for your assistance and your speed to answer.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding php code above central column qbuster Sidebars & Widgets 4 Apr 28, 2011 02:15 PM
[SOLVED] After update, images in new posts no longer resize with central column width est1984 New Versions, & Updating 5 Dec 31, 2010 09:27 PM
On setting up headers - the central column is push up Ponics Header configuration & styling 3 Jul 28, 2010 03:20 PM
Central repository: Where do I find translations? Carlo Languages & Translations 1 Jul 6, 2010 04:36 AM
[SOLVED] central column error vsamigo Page & Category Menu Bars 10 Jul 15, 2009 12:21 PM


All times are GMT -6. The time now is 09:29 PM.


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