Custom Widget showing on left sidebar and not in the right sidebar
Hello,
first of all thanks for the great works on Atahualpa theme ! i made a custom widget which only purpose is to display a blank div, only on home page. the widget output code is as follow : PHP Code:
i tested with another 3 columns theme and its working properly. Any idea ?:confused: |
Quote:
I just added a text widget to the right and left sidebar and used the 'widget logic' plugin and added HTML Code:
is_front_page()||is_home() |
i meant i made a very simple plugin with a WP_Widget derived class.
in the admin panel i can add my widget then and set the height of the div tag on home page. I didnt know "Widget Logic" plugin , so i installed it and tested what you did and i get same result :( the text widget appears on the left but the same one on the right doesnt. 2 thing i have to say though : - first i edited quite a few line in the index.php file of Atahualpa theme. - second i added a home.php to customize my homepage but the following code remain the same at beginning. PHP Code:
Thanks, [edit] it's working with a vanilla atahualpa so i guess i'll look into the changes i made . sorry |
All times are GMT -6. The time now is 03:50 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.