alanft
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] Doesn't rotatewrong plugin I think
Forum: Plugins
In reply to: [Widget Logic] Not working after 4.0Your problem is in some of the widget logic somewhere, but the backend should work ok, regardless of widget logic.
would you try the development version and let me know if that helps
Forum: Plugins
In reply to: [Widget Logic] Compatible with 4.0?Hi there.
Yes I believe it works fine with 4.0. I tried an install ages ago and it works without a hitch. In fact… *checks* … yep, got a live WP4 with it working fine still.
I’ve not been updating recently, sorry, but I’ll try to mark it as officially working with 4. (I see a few people saying it doesn’t, but I don’t think the issues are related to WP4 upgrade)
TBH, sort of despondent about updating things. I made a fair few changes in the current DEV version, and appealed for feedback, but got zero help 🙁
Forum: Plugins
In reply to: [Widget Logic] Getting warning message on admin pagesthat plugin uses the same filter “dynamic_sidebar_params” as widget logic, and leaves the widget parameters in a way that disables widget logic.
I am looking at an alternative way to work around what it does.
You may find that http://wordpress.org/plugins/widget-context/ suits your needs while this is still an issue, or longer!
Forum: Plugins
In reply to: [Widget Logic] Getting warning message on admin pagesseems you have a widget that’s not operating by the normal conventions somehow. can you deactivate plugins that provide widgets and see when that message goes? Then I can take a look at that plugin and adapt my code to cope with it
Forum: Plugins
In reply to: [Widget Logic] Widget Logic ConsultingThe development version might improve things for you as it ‘caches’ some code execution, which when you have that many widgets might have a significant impact
http://wordpress.org/plugins/widget-logic/developers/
otherwise no.
The custom-field-widget plugin allows you to have just ONE widget, not one widger per page, one widget for ALL the pages. The content for that is edited along with the page in a custom field.
Forum: Plugins
In reply to: [Widget Logic] Widget Logic ConsultingI was thinking of something like http://wordpress.org/plugins/custom-field-widget/
you can place a single widget in a widget area, and its content is taken from a post/page’s “custom field”. Take a look and see if you could use something like that – even if not *exactly* that plugin, something close. (The main drawback of that plugin appears to be the static widget title text, but I guess you could leave that blank and put a header like <h2>Page specific widget title</h2> in the custom field
Forum: Plugins
In reply to: [Widget Logic] Widget Logic Consultingoof – that’s quite extensive, and must be quite difficult to maintain. I haven’t quite got my head around what you are trying to do there. It looks like each page has its own widget with some content in it?
What’s the “widget content” widget you are using there doing? If it’s just displaying some static HTML/text, there’s definitely a more efficient way of doing this – using a post “meta” field to store the content and a single widget that displays that data.
Forum: Plugins
In reply to: [Widget Logic] Widget Logic ConsultingHappy to give advice publicly on these forums
That’s the one. You may need to set the “Load logic” setting to the “after query variables set” (parse_query) option.
Forum: Plugins
In reply to: [Widget Logic] Widget Logic being called over and overThe new dev version doesn’t call your code repeatedly. If you give it a try I’d love to know how you find it.
I’ve just arranged that when the filter is called it only does the calculation the first time, and then on subsequent calls it goes “I already worked this out, here’s what I said last time”
I don’t think there is a better hook, for good or bad. Like I said above, it’s hard to avoid the filter being called multiple times. “dynamic_sidebar” calls the filter regardless of which sidebar is called (and without passing that information on), so I just have to make the filter a little cleverer. And I have you to thank for the nudge to do that. And at the same time it made me realise that the FIRST time that’s called should default to a different point in the WP process, and I’m hoping that clears up a number of related problems I’ve seen people trying to deal with.
Forum: Plugins
In reply to: [Widget Logic] Multiple LogicsFirst take care you are using the right tag. The difference between in_category and is_category is important.
And fortunately both of those take arrays of lists of categories. Check out the codex here
The latest development version here…
http://wordpress.org/plugins/widget-logic/developers/
has a new ‘Load logic’ option of ‘when query variables set’ which I believe will fix many woocommerce woes
Forum: Plugins
In reply to: [Widget Logic] Widget Logic being called over and overactually tried updating the code to accommodate this change in the ‘development’ version here
http://wordpress.org/plugins/widget-logic/developers/
if anyone is interested in trying that out
Poking around re woo commerce I’ve seen some suggestion that (if you are still persisting with WL) you might fix some problems with a ‘late’ Load Logic option
The Load Logic menu is at the foot of the Widget admin page as seen here
http://wordpress.org/plugins/widget-logic/screenshots/And a brief outline of what it does is here
http://wordpress.org/plugins/widget-logic/installation/Try the latest wp_head option (and check wp_head is used in your theme!)