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 » eCommerce & Atahualpa »

[SOLVED] Center Column Top - widget area only in home


  #1  
Old Oct 12, 2015, 10:47 AM
francesco
 
8 posts · Oct 2015
I download Atahualpa 3.7.24 and i try to make first blog in wordpress, now make blog on local with XAMPP.
I used this theme beacuse is possible have three column in center area in top of post.
Now i would see this widget area only in home and othe page free of this widget, i try to put in option of theme in box"Center Column Top - widget area" this string
<?php if (is_front_page()) {bfa_widget_area('name=Top of Page Area Spaces&cells=3');} ?>
but the widget area missing in all pages.
help me please.
Regards
Francesco
  #2  
Old Oct 12, 2015, 10:52 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can't use the
HTML Code:
if (is_front_page())
php in the statement due to a WordPress theme restriction.

So just create the widget area and use the plugin 'exec-php' and then put the 'is_front_page()' in teh widget logic section of the widget 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 Oct 12, 2015, 11:45 AM
francesco
 
8 posts · Oct 2015
appreciate your reply very quickly.
I downloaded plugin exec-php and I activated, I try to put sting in "Center Column Top - widget area" but again the central column missing in all page... I'm very desperate!! I'm sure i forgot a passage!
  #4  
Old Oct 12, 2015, 02:08 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Sorry, it was a long weekend - install the plugin 'widget logic' not 'exec php' (sigh...)

1) add your widget area using the following code
HTML Code:
<?php bfa_widget_area('name=Top of Page Area Spaces&cells=3'); ?>
2) go view your home page
3) go to the widget area, you should now see 3 widget areas (since that is what you requested):
Top of Page Area Spaces 1
Top of Page Area Spaces 2
Top of Page Area Spaces 3
4) put the calendar widget in the widget area 'Top of Page Area Spaces 1'
5) go view your home page - you should see the calendar
6) go to the widget area and edit the calendar widget and at the bottom you should see the widget logic section - add
HTML Code:
is_front_page()
the widget will only show on the front page
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 13, 2015, 12:47 AM
francesco
 
8 posts · Oct 2015
thank you so much Juggledad now it's ok, I have widget area only on front page!!

Bookmarks

Tags
in home, widget area

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Adding widget area to home/center column, but not post/page JennyD Center area post/pages 2 Feb 17, 2012 11:35 AM
[SOLVED] Added center column widget showing in Widget area, but not displaying on pos tsheridan Sidebars & Widgets 2 Dec 22, 2011 09:50 AM
Adding more than one custom widget area to the center column maguai Sidebars & Widgets 9 Mar 1, 2010 03:02 PM


All times are GMT -6. The time now is 04:36 AM.


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