alanft
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] Plugin not workingif you have no widget logic and it appears on all pages, does it start working?
try switching to a wordpress standard theme to see if the theme code is interfering. you could also try the wp_reset_query option
Forum: Plugins
In reply to: [Widget Logic] Using PHP in Widget LogicI think if you found that variable in the DOM then that’s not (directly) accessible to PHP – it’s more likely a CSS class. I expect you have a plugin that outputs the class setting, so perhaps you can get to that more directly from whatever that plugin does?
all you need should be
is_single() && in_category(X)
so if that’s not working soemthing else is going on.
Forum: Plugins
In reply to: [Widget Logic] Bug in Widget logici’ve added the ovbious fix to the dev version – thanks for the note
Forum: Plugins
In reply to: [Widget Logic] limitation of widget placementi have not – and I have 22 widgets in a single sidebar. any more info and I’ll try to diagnose where the problem lies
Forum: Plugins
In reply to: [Widget Logic] Widget for based on categoryYou can’t do that with widget logic – you need a widget that is category aware somehow.
Alternatively if you had a widget that could be set to display stuff relevant to a particular category, and you could set multiple ones up, you could add WL code to show each one in the relevant category – which is a little contrived (and unlikely)
Forum: Plugins
In reply to: [Widget Logic] Shortened title tags with Widget LogicI think you may have the wrong plugin – WL doesn’t have a shorten long titles option
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Disappearing widgets“widgets disappear from the sidebars in the Dashboard”
I’ve not seen this – do you mean in the Appearance>Widgets admin page in the right-hand sidebar where you config the content?
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Widget admin doesn't workparameter -1 is normal on the widget admin page IIRC, so I don’t know that’s the source of the problem. Under what circumstances does the problem appear and go away.
I presume with Widget Logic inactive it’s not happening – but is it a clash between WL and another plugin/widget? Can you get rid of the problem by deactivating another plugin, or is this happening with bare WordPress + Widget Logic?
actually good to know thanks!
assuming the missing ) off the end is just a copy/paste error, that looks like it should work to me
You should be able to use the get_query_var(‘paged’) as recently tried here
http://wordpress.org/support/topic/plugin-widget-logic-menubar-wont-show-on-page-234-etc
looks like it might be, oddly, quite tricky
http://codex.wordpress.org/Pagination#static_front_page implies you have to use get_query_var(‘paged’) and get_query_var(‘page’) if that doesn’t work
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Same widget on multiple sidebarsYou can use get_term_children to get an array of categories, so you could do something like in_category(get_term_children(5, ‘category’)). I’ve not tried it, but that sounds convincing.