alanft
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] Widget showing up on Events pages!is_page(53) would do it, BUT see the Widget Logic FAQ about issues when using is_page
I’ll mark this to add in to the FAQ (best place for it? though it’s not been ‘frequent’… yet!). And… my thanks.
Forum: Plugins
In reply to: [Widget Logic] Custom Field conditionyour syntax above with get_post_meta shouldn’t work, as the first parameter should be the postID I think…
http://codex.wordpress.org/Function_Reference/get_post_meta
You could try using get_post_custom_values which uses the current post by default
http://codex.wordpress.org/Function_Reference/get_post_custom_values
however you get it working you want your last condition to be about single posts where the meta doesn’t match something
A || B || C || (is_single() && !( your_meta_test_here ) )Forum: Plugins
In reply to: [Widget Logic] Widget does not save the logici tried to google it and find it in the plugin repository, but no sign, sorry. I may need to try it out on a default install, or at least look at the code to see how it’s doing this.
Forum: Plugins
In reply to: [Widget Logic] Widget does not save the logicThere’s a bit in the FAQ about an is_page gotcha, follow that lead and see if it helps.
Forum: Plugins
In reply to: [Widget Logic] **alanft :::: Can you please help?A couple of people here http://wordpress.org/support/topic/is_tax-no-longer-working-after-upgrade-to-35 had what sounds like a similar issue (although one of them then says it was a false alarm). I tried looking at the difference between 3.4 and 3.5 in the is_tax routine, and differences *are* there, but seem unlikely to lead to any difference in behaviour.
You could try troubleshooting the issue with a PHP widget that allows you to look at what’s being returned by your is_tax functions, like this…
print_r( is_tax(…))Forum: Plugins
In reply to: [Widget Logic] Breaks theme if incorrect logic usedI haven’t found a good way of doing this – if anyone comes up with a technique, let me know.
Forum: Plugins
In reply to: [Widget Logic] Do not show widget on a post categoryLooks like an empty sidebar, and your theme is not reacting to that with eg alternative/default sidebar content, or an alternative layout where the main content fills the width. editing/changing your theme could be one option – adding alternative sidebar content could be another.
Forum: Plugins
In reply to: [Widget Logic] erroryou have invalid code in a widget’s widget logic field – probably multiple ones. try (reactivating the plugin and) blanking the widget logic fields. You can save the config out first if needed
Forum: Plugins
In reply to: [Widget Logic] Can't get the widget to work on select pages onlysorry, that was a reply just to dianabryon. the response 2 days ago still applies to your issue – have you tried that out yet?
Forum: Plugins
In reply to: [Widget Logic] Can't get the widget to work on select pages onlyno that’s not how it works – maybe there’s another plugin you are thinking of.
Forum: Plugins
In reply to: [Widget Logic] wp_logic doesn't work after db password changelooks like the password change is coincidental. something has also changed in the widget logic of one of your widgets. the ‘syntax error… eval()’d code’ bit points at that.
go through each one in turn and blanking (and then restoring from a saved config) to see when the error stops.
Forum: Plugins
In reply to: [Widget Logic] Syntax Error causing Server Error/Warningyep, there’s an error in your widget logic in one of your widgets somewhere. Try blanking them one at a time (save the config out first)
Forum: Plugins
In reply to: [Widget Logic] Can't get the widget to work on select pages onlyIt doesn’t looks like is_page_template can take a list in an array I’m afraid
http://codex.wordpress.org/Function_Reference/is_page_template
you’ll have to do
is_page_template(X) || is_page_template(Y)
Forum: Plugins
In reply to: [Widget Logic] Widget Logic Not WorkingLindsay – see the section on is_page in the FAQ for an important ‘gotcha’ using is_page. And the other thing you might like to try is using the page ID number instead of the text, in case the character set you have there is an issue somewhere along the line
http://wordpress.org/plugins/widget-logic/faq/
BAMiller – if you can point me at a page that displays the problem, and another page to the same design that doesn’t that would be a good point to start working out what’s causing the difference