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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

Show different footer per language


  #1  
Old Oct 12, 2013, 03:20 AM
Ber|Art's Avatar
Ber|Art
 
198 posts · Oct 2009
Europe (NL) ber-art.nl Windows 7x64 WP 3.x Atahualpa 3.7.x
Send a message via Skype™ to Ber|Art
Help Show different footer per language

I made this website: http://www.plantpack.net/ 99% multiligual with WPML, I managed to get even the matching sidebars per language.

Now it would be nice if I could do the same for the Footer, is it possible to match a footer to a language just like I did with the sidebars?. For the sidebars I used this plugin: http://wordpress.org/plugins/widget-logic/ in the widget I use the shortcode:

ICL_LANGUAGE_CODE == 'en'

to match a sidebar to a Language, this works great Hope this is also possible for a Footer

Thx!
  #2  
Old Oct 12, 2013, 03:38 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Did you know you can add a new widget area to the footer?
__________________
"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 13, 2013, 02:56 AM
Ber|Art's Avatar
Ber|Art
 
198 posts · Oct 2009
Europe (NL) ber-art.nl Windows 7x64 WP 3.x Atahualpa 3.7.x
Send a message via Skype™ to Ber|Art
No, how do I do this?

//edit found it: <?php bfa_widget_area('name=My_footer_widgets&cells=3'); ?> testing now

Last edited by Ber|Art; Oct 13, 2013 at 03:11 AM.
  #4  
Old Oct 13, 2013, 03:20 AM
Ber|Art's Avatar
Ber|Art
 
198 posts · Oct 2009
Europe (NL) ber-art.nl Windows 7x64 WP 3.x Atahualpa 3.7.x
Send a message via Skype™ to Ber|Art
Got two problems:

New Footer Widget 1 is aligining left on 2 lines : http://www.plantpack.net/
New Footer Widget 2 is aligning center on 3 lines : http://www.plantpack.net/nl/
New Footer Widget 3 is aligning right on 2 lines : http://www.plantpack.net/zh-hans/

I want ONE (1) line and aligned CENTER for all three widgets, is that possible

I can see I have to include "align" and "width" in : <?php bfa_widget_area('name=My_footer_widgets&cells=3'); ?> but I am not sure how, can you help me with this piece of code?

Last edited by Ber|Art; Oct 13, 2013 at 03:40 AM.
  #5  
Old Oct 13, 2013, 03:40 AM
Ber|Art's Avatar
Ber|Art
 
198 posts · Oct 2009
Europe (NL) ber-art.nl Windows 7x64 WP 3.x Atahualpa 3.7.x
Send a message via Skype™ to Ber|Art
I tried this:

<?php bfa_widget_area('name=My_footer_widgets&cells=3&al ign=2&align_1=2&align_2=2&align_3=2&width_1=1000&w idth_2=1000&width_3=1000'); ?>

The width is working now, but now the widget 2 and 3 are far to the right, how can I solve this?

//Edit: I tried almost every possebility, nothing works I keep getting three widget next to eachother but the should be below eachother, and there will be several languages more so I will need 7-8 widgets in the footer

Last edited by Ber|Art; Oct 13, 2013 at 03:58 AM.
  #6  
Old Oct 13, 2013, 05:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You could add just a one (1) cell widget area and put your three widgets in that widget area and use widget-logic to control which to display
HTML Code:
<?php bfa_widget_area('name=My_footer_widget_area'); ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Right Sidebar doesn't show and squeezes footer tbaxter Sidebars & Widgets 2 May 14, 2012 08:42 AM
Post footer won't show kjetil Post-Kicker, -Byline & -Footer 6 Jan 17, 2012 01:16 PM
php in footer.php - links to just show up on homepage chris Atahualpa 3 Wordpress theme 6 May 9, 2010 12:50 PM
[SOLVED] Some links in footer show, one does not. HUH?! Odd! markzip Post-Kicker, -Byline & -Footer 2 Feb 13, 2010 10:36 AM
Hide the footer on a static page while show them on posts olivier2010 Post-Kicker, -Byline & -Footer 1 Nov 2, 2009 06:41 PM


All times are GMT -6. The time now is 07:57 AM.


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