alanft
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] Widget on posts within a certain categoryyou may need to change the ‘load logic’ point to a later point to ensure the woo_commerce plugin has loaded before the logic is invoked.
http://wordpress.org/plugins/widget-logic/installation/
http://wordpress.org/plugins/widget-logic/screenshots/Forum: Plugins
In reply to: [Widget Logic] When Widget Logic is activated, pages return 500 errorOf course, it *might* be some of your widget logic is causing this. try saving out your WL code then blanking your widgets one by one to see if some of the WL code is to blame.
Forum: Plugins
In reply to: [Widget Logic] When Widget Logic is activated, pages return 500 errorIf WL logic is fully installed I’ve never seen a 500 error, though I see people mention it. Delete the plugin, use WP plugin interface to do a fresh install and see if that fixes it.
Forum: Plugins
In reply to: [Widget Logic] Conditional menu not showing on posts page“whatever page I designate as the posts page” makes it sound like you are trying to make it appear on the home page.
If so, see “How do I get widget X on just my ‘home’ page?” on http://wordpress.org/plugins/widget-logic/faq/
Forum: Plugins
In reply to: [Widget Logic] Widget Logic does not work with bbpress pagesI don’t use bbPress, but I see it has its own conditional tags
http://codex.bbpress.org/legacy/template-tags/
try those and see if that helps.
Forum: Plugins
In reply to: [Widget Logic] widget_logic incompatible with WP 3.7.1lovely!
Forum: Plugins
In reply to: [Widget Logic] widget_logic incompatible with WP 3.7.1i won’t have time to go over the code for BPGDocs, or try it out and troubleshoot myself, but you could try changing the load logic trigger to a later point (see http://wordpress.org/plugins/widget-logic/installation/ )
can’t promise anything, but it has fixed clashes with other plugins that use widgets before.
Forum: Plugins
In reply to: [Widget Logic] How to use is_page() for a portfolio pagefirst off check out the gotcha re is_page which is mentioned in WL’s faq
http://wordpress.org/plugins/widget-logic/faq/for the rest I don’t know what to suggest. i’m not sure what the portfolio pages are there – is that a main page ‘portfolio’ with sub pages? And if the slug of the sub-pages are numbers that might be confusing the logic in WP’s guts, so look for the actual sub-page ID – you can get that in the WP backend when you click to edit a page the URL is something like
post.php?post=12345&action=edit
where the 12345 is the page ID, then you can put that in as an integer in the is_page(12345). try it anyway
Forum: Plugins
In reply to: [Widget Logic] widget_logic incompatible with WP 3.7.1i upgraded my main site to 3.71 without any issues including all our WL code working as before. so if anyone is having trouble and can help troubleshoot what the source of the problems might be in 3.71 that would be great
Forum: Plugins
In reply to: [Widget Logic] is_home() but also show up at page 2thanks, yes !is_paged() is the way to go – cheers alchymyth
Forum: Plugins
In reply to: [Widget Logic] is_home() but also show up at page 2is_home() is still true at /page/2, so if you don’t want things appearing there, you need to update your widget logic. I *think* that the /page/X URLs set a global variable $paged to X – but there is some confusion in the forums and the documentation is quiet.
either way try something like
global $paged; return is_home() && !$paged;Forum: Plugins
In reply to: [Widget Logic] Migrating Entire WebSitethe code is in the WP database (in an option), but if you want to be doubly sure, use the export/import in the widget admin page
Forum: Plugins
In reply to: [Widget Logic] GEO targeting a widgethttp://uk1.php.net/en/reserved.variables.server.php
$_SERVER[‘REMOTE_ADDR’] gives you the IP address of the client, so you can draw up some logic using that
Forum: Plugins
In reply to: [Widget Logic] Italian translationoh hi, sorry I missed this – post them to my gmail.com address. i’m alan.trewartha
cheers
A
Forum: Plugins
In reply to: [Widget Logic] Not working with some widgets?i’m afraid I only have generic troubleshooting ideas for you.
The most useful this you can use is a generic PHP widget that you can do things like
echo "4638 check=".is_category(4638);which is a bit involved. Slightly simpler but possibly more long-winded would be try breaking it down in the widget logic with a test text widget set to appear under bits of your logic to see which bit isn’t evaluating correctly, e.g. just
in_category(4638)as widget logic – perhaps that bit isn’t working for some reason, and you can work back from that if it’s not. perhaps switching themes to see if the problem goes away, and then you have something to work on where the problem arises.hope that’s some help