Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   BFA Atahualpa sidebar PHP function (http://forum.bytesforall.com/showthread.php?t=15326)

bigliettaio Sep 8, 2011 04:43 AM

BFA Atahualpa sidebar PHP function
 
How it is called the PHP function to manage sidebar inside Atahualpa?
e.g. the function who permit to display or hidden sidebar.

Please do not answer me 'you can set it via ATO>> etc. etc.'

Thanks

juggledad Sep 8, 2011 05:07 AM

The left or right sidebars? They are processed in different parts of the code.

May I ask why?

bigliettaio Sep 8, 2011 11:47 AM

The right sidebar.

Details:


The right sidebar.

Because i wonder show right sidebar only in pages belonging to a certain page ( is difficult to explain in English is not my mother tongue) so only in pages 'under' the page statistiche

As i have an high number of page so i realized that is simple use a php piece of code with conditional tag than adding every page i wish not displayed to the proper form ATO>>Style Side Bars :-)

At the moment i show sidebar with wideget logic plugin and in other pages i set the background-color as transparent.
Only the Front page split whole page 'cause i set in ATO>>Side Bars not to show right sidebar there.


Regards

juggledad Sep 8, 2011 12:56 PM

take a look in footer.php

bigliettaio Sep 8, 2011 01:21 PM

Ah Ok Juggledad,

Thanks i let you know.

PS
Have you see the Details? 'cause i wrote the former comment in two times...

juggledad Sep 8, 2011 02:34 PM

Quote:

PS
Have you see the Details? 'cause i wrote the former comment in two times...
not sure what you mean :confused:

bigliettaio Sep 8, 2011 02:40 PM

I see form access to my site that you read the details: i want to mean that post he 2nd comment in two times:
first answering you about which sidebar i want to set
and after a while i edit the comment adding details

PS
The sidebar is displayed in all sub pages of statistiche's page exept the first ( i realized that just now...)...

juggledad Sep 8, 2011 02:49 PM

it's looking good.

bigliettaio Sep 8, 2011 03:18 PM

As mentioned before the actual problem is that in pages whitout sidebar (e.g. where sidebar is set with a background-color transparent) the body of post: central column doesn' tslit whole width of page
even pages where sidebar is disabled ( with ATO functions) it happened.

So as the high numeber of pages ( that are not only the one added to Pages Menù) i prefer use a PHP code to disable at all the sidebar in the pages not set it with "background-color:transparent;")

:-)


All times are GMT -6. The time now is 04:14 PM.

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