nice little bit to fix tag archive

August 22nd, 2012 by

Was having a problem with tag archive not pulling from custom post types, or from pages (I added a plugin to add tags to pages). After much searching and minor hair loss, I found this: function post_type_tags_fix($request) { if ( isset($request['tag']) && !isset($request['post_type']) ) $request['post_type'] = ‘any’; return $request; } add_filter(‘request’, ‘post_type_tags_fix’); from here: http://wordpress.stackexchange.com/questions/13237/custom-post-type-tag-archives-dont-work-for-basic-loop [...]


hide form option using just css

January 10th, 2012 by

OK, I know this is cheater. But I don’t know javascript/jquery/whatever, and the plugin people didn’t care to offer this help even as a paid ticket. And this is a deadline here, people. So, after a bit of digging and a very small amount of sweat, I tried this and it WORKS: form.product select#quantity-48 option:nth-child(n+11){display:none;} [...]