Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Widget logic not works with Atahualpa 3.4.5 (http://forum.bytesforall.com/showthread.php?t=5374)

chiara7 Jan 18, 2010 08:42 AM

Widget logic not works with Atahualpa 3.4.5
 
I'm using Wordpress 2.9.1 and Ata 3.4.5 Widget logic not works at all. If I use Atahualpa 3.4.4 it's OK! Have you any idea?

lmilesw Jan 18, 2010 09:11 AM

This isn't an answer to why WL doesn't work but you might want to try the Display Widgets plugin instead. Not sure if it will do all you want but I like it better than WL for my needs. I just tested with WP 2.9.1 and Ata 3.4.5.

paulae Jan 18, 2010 10:24 AM

Larry, I've been using Widget Logic successfully, and I've managed to get a grasp on some of the conditional statements to get the widgets to appear just where I want them to be. For instance, one of our categories is Obituaries. On the Obits category page and on all single posts in that category, we have a list of recent obits in the left sidebar, and in the right, a link to a full index of obits, and a list of links back to previous year indexes, in our pre-Wordpress files.

I tried Display Widgets just now, and while it is certainly much easier to use than Widget Logic, I wasn't able to get it to display the widgets mentioned above on single posts in the category, but not on single posts elsewhere. I'm going to dig around online a bit to see if I'm missing something, but I thought I'd ask you if you found a trick for doing this. One day, I hope to turn management of the newspaper over to somebody who might not have as much experience as I do with PHP stuff, so the easier, the better!

paulae Jan 18, 2010 10:25 AM

Chiara, I'm using WP 2.9 and Atahualpa 3.4.5.1, and Widget Logic is still working fine. Perhaps your conditional statement syntax is wrong? Can you give us an example?

lmilesw Jan 18, 2010 11:05 AM

That's the downside of Display Widgets as I see it as well Paula. It would be great if they built in some AND logic. I think I'll go to their site right now and make that suggestion as I too try to make sites as easy as possible to maintain for the non-techies out there of which there are many.

paulae Jan 18, 2010 11:16 AM

I've just posted a question in the developer's support forum: http://blog.strategy11.com/forum/dis...le-posts/#p161

I'm going to also check out the Widget Context plugin, although I seem to recall that it conflicted with some other plugins a while back.

lmilesw Jan 18, 2010 11:37 AM

I just tried Custom Widgets and it works. It is a bit more complex than Widget Logic but I was able to set a particular Widget to only show for posts in a particular category. I did put in a feature request for Display Widgets as well.

chiara7 Jan 18, 2010 12:34 PM

I tired other conditional tags, and the result is, that all the other e.g. is_page(), is_single() work, just is_home() or is_front_page() don't.
In my index.php there is an insert, because I want just one category in home page:
Code:

<?php if ( is_home() AND !is_paged() ) {
query_posts('cat=3');
} ?>

If I cancel this code, widget logic works perfectly, but I can't filter the category... :( :confused:

chiara7 Jan 18, 2010 02:31 PM

Thanks for Paulae and first of all, lmilesw for the idea of Display Widget. The behavior of this plugin shown me the solution. For widget logic (and for Display Widget) the home page was a category archive of cagegory 3. If I exclude all other categories instead of including one of them, the is_home() conditional tag works fine.

And sorry for the whole Thread, I think, it's probably not a question of Atahualpa...


All times are GMT -6. The time now is 10:24 AM.

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