alanft
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] WP 3.8 conflict? Something else. 500 errorCheers.
note to self: add a FAQ something like
I get an error like “PHP Parse error: syntax error… eval()’d code on line X” that goes away when I deactivate Widget Logic. How to fix it?Forum: Plugins
In reply to: [Widget Logic] Different widget on different pages, with SEO friendly URLSyou can still put in the post’s numeric ID if it’s easier – or the cyrillic ‘slug’ i’d have thought would still work
Forum: Plugins
In reply to: [Widget Logic] WP 3.8 conflict? Something else. 500 erroryou have some logic in one of your widgets that’s not right. check through each of your widgets – it’s probably a missing bracket or something.
one method would be to save out your WL config, and blank the widgets one by one until the error goes. then you can restore the config and so on.
Forum: Plugins
In reply to: [Widget Logic] Widget logici’m afraid this is the first time i’ve heard of gantry. if this is all part of freely available code, I’ll look into it. give me some further pointers to get me up to speed. cheers, A
Forum: Plugins
In reply to: [Widget Logic] Undefined index noticescheers, I see the issue, will add to the dev version soon
Forum: Plugins
In reply to: [Widget Logic] Widget Logic Broken in WP 3.8have you tried the fix suggested in the FAQ for is_page (and if that doesn’t work, you should trace through the problem of is_page mentioned there)
Forum: Plugins
In reply to: [Widget Logic] Adding to multiple pagesyou can do that, have a widget per section with set content and use WLogic to switch them on/off as needed. But when you are getting to large number like that, you should be looking for (or commissioning someone (not me!) to write you a) a widget/plugin that does that.
if it’s per page, then you could do that with post metadata and a bit of fairly simple PHP in a PHP widget that extracts that metadata and shows the right content. (I guess you could do the same thing with categories too)
Forum: Plugins
In reply to: [Widget Logic] Adding to multiple pagesif is_page is working for you ok, then you should be able to use the options listed here…
http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page
is_page( array( 42, ‘about-me’, ‘About Me And Joe’ ) )
Returns true when the Pages displayed is either post ID = 42, or post_name is “about-me”, or post_title is “About Me And Joe”.
is_page( array( 42, 54, 6 ) )
Returns true when the Pages displayed is either post ID = 42, or post ID = 54, or post ID = 6.Forum: Plugins
In reply to: [Widget Logic] WordPress 3.8it’s worth switching to a default theme to see if that makes the difference
Forum: Plugins
In reply to: [Widget Logic] WordPress 3.8the use of is_home depends on how you’ve set up your site. check the “How do I get widget X on just my ‘home’ page?” in the FAQ
Forum: Plugins
In reply to: [Widget Logic] Not working on blog pageGood point well made.
But also, check the FAQ… there is a generic “gotcha” when using is_page()
Forum: Plugins
In reply to: [Widget Logic] Use Widget Logic in a Plugin List ProductsHi Ruben, could you expand, I don’t really follow the problem as you’ve put it. if you can point at a live sample that might help
Forum: Plugins
In reply to: [Widget Logic] Capricious behaviorsee http://wordpress.org/support/topic/wordpress-38-43 to post any ways to reproduce examples of bad behaviour.
a general troubleshooting approach – use the ‘Export options’ to save out your current setup (it’s at the foot of the widget admin page), and then clear out all your logic and concentrate on one widget at a time, starting with the simplest logic. the simplest logic is using ‘false’ and ‘true’ to start and then moving on to using a basic conditional tag
Forum: Plugins
In reply to: [Widget Logic] WordPress 3.8I see a couple of people have marked it as not working with 3.8, but I’ve got a 3.8 working ok “out of the box”
If anyone can leave step-by-step ways to reproduce bad behaviour with 3.8 i’d be obliged. I’ll have a poke around on my dev 3.8…
Forum: Plugins
In reply to: [Widget Logic] Incompatibility with themeit might be that some of your WL code in widgets is the cause. you don’t need to remove the widgets, just blank the widget logic code. you can use ‘export options’ to save them all first, and ‘import options’ to restore them later.
i don’t know how you are set up, but it sounds like you need to get yourself a test/dev/whateveryoucallit version to play with. if you can’t play with your live setup, I don’t know how you’ll ever get things fixed – just in general, not this specific problem