alanft
Forum Replies Created
-
i think as this function is in pluggable.php, that the function doesn’t exist when the plugin is activated. This *should* mean that you just have to delay the loading of your logic.
You can do this on the widget admin page, at the foot of the page is the ‘Load logic’ option. By default it first runs ‘when plugin starts’. Try changing that to ‘after theme loads’, and if that doesn’t work ‘when all PHP loaded’.
Let me know if that fixes it – as I’ll add that to the read me / FAQ / and notes if so.
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Problem after upgrading to 0.52is it pre 2.8?
Forum: Plugins
In reply to: [Widget Logic] Twitter feed broken with Widget Logici tried the jetpack one and it worked much as expected on my normal WP install with WL. you’ll have to point me at a/your site showing this behaviour i think.
You could try fiddling with the “load logic” setting on the Widget admin page (at the bottom) — that might have some effect
Forum: Plugins
In reply to: [Widget Logic] Twitter feed broken with Widget Logicwhich twitter widget do you use – the twitter widget i use doesn’t do that (but it is one i wrote myself)
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Problem after upgrading to 0.52with all wp repository plugins you can go to the plugin’s developers page e.g.
http://wordpress.org/extend/plugins/widget-logic/developers/
to get old versions. i’ve not heard of this problem before, so I’d definitely try to uninstall and re-install the regular version – in case it’s just a failed install. what version of WP are you on (it’s tested ok on 3.4 BTW tho it still says only up to 3.3.2 or something)
another thing you can do with widgets admin page is open the ‘screen options’ and activate ‘accessibility mode’ (which is an alternative JS-free way to edit widgets)
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Sidebar disappears on blog postsif
is_page(‘create-transforming-stories-of-art-life-faith’)
makes widgets appear on your landing page, you can invert this logic with the logical NOT operator which is a ‘!’ mark:
!is_page(‘create-transforming-stories-of-art-life-faith’)
If you can make things appear on your home page with is_front_page() and individual posts with is_single(), then you can tell it to appear when either one or other case is true with the logical OR operation which is two ‘pipe’ characters like this ‘||’
is_single() || is_front_page()
see more info here http://wordpress.org/extend/plugins/widget-logic/other_notes/
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Sidebar disappears on blog postsfor the widgets that should appear on single posts, what logic are you using? Do you have any set to appear regardless? (i.e. no WL code)
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Show widget by Sessionhave you tried something simple like
$_SESSION[‘multi_city’]==’New York’
(or whatever) ?
http://bbpress.trac.wordpress.org/browser/trunk/bb-includes/functions.bb-template.php#L428
looks like there are bbpress conditional tags here. could be the one you want is bb_is_forum()
yeah, your function does this
$is_objects_search = $_GET[‘post_type’];
but then tests this
if (‘objects’ == $is_post_type )
and $is_post_type hasn’t been defined in the function
to use functions.php functions you need to be sure to set the “Load logic” setting to at least the “after the theme loads” setting
See http://wordpress.org/extend/plugins/widget-logic/installation/
That’s not a guaranteed fix, but without doing that your widget logic might throw errors where you don’t expect it.
hurrah 🙂
ah, i think that might be a clash between widget logic and dynamic widgets – i think you should try using just one or the other, as I think they clash
you may need to post a screenshot or, in the best of all possible worlds, give me live access to a site that displays this problem – I just don’t see any error. It could be I’m not doing something very basic, or it could be any number of other differences in our WP setups (PHP version and all manner of things) – making it hard to troubleshoot
are you able to try saving some widget logic code at all in this widget? what about in widget admin page’s “accessibility mode”? (click screen options on widget admin page and you get a non-AJAX way to edit widgets)
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Not display correctly@draivika, on another recent post you mentioned a widget logic you found that worked for you that was a compound of is_single && something else. Do you mean specifically that is_single by itself stopped working under some circumstances?