frankganz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalinks problems after upgrade 2.7Aw man. That was so close. Doing that broke a bunch of links everywhere in my blog. Back to the drawing board I guess.
Forum: Fixing WordPress
In reply to: Permalinks problems after upgrade 2.7@badevan… strange is right, but it WORKED! There was a blank linebreak at the beginning of my .htaccess file, I deleted it, saved, re-uploaded the file and it WORKED!!
Thanks!
ok, no worries. here’s how you get it to work. you need it to return TRUE when you want the widget to appear and that’s under 3 different circumstances. in programming logic that’s when a OR b OR c are true, which you write
a || b || c
each of those could be a test like you find on http://codex.wordpress.org/Conditional_Tags eg
is_category(‘9’)
When the archive page for Category 9 is being displayed
…in_category(‘5’)
Returns true if the current post is in the specified category idit’s the last one (is in a category that is an ancestor of a parent category) that’s hard to do. that function i found above will make it simpler, but you’d still have to write some PHP to make use of it, and i’ve not got the time to do that here right now, sorry. check back later. you never know, someone else might chip in with the code before me
alan where are you? lol. I have been trying to figure this out on my own and I just can’t do it!!! Please help!