Welcome to Redradar!

I'm Kelly, and I'll be your host today. I'm a recent grad trying to figure out life. I have interests and a resume, if you're looking for web developer (preferably in the Western MA area). I also have wordpress plugins & other projects; and sometimes I talk about interesting tech topics. I hope you enjoy your stay, and come back often! (alternately you can follow me on twitter, or grab my RSS feed)

Log in?

Name:
Pass:
Show me?

post-from-site v2.0.1

Posted on Jul 16, 2010 at 06:58 PM

I’ve just released post-from-site v2.0.1, which fixes the unintentional bit of code left from development (that I left a path absolute from my dev environment). It should be working for everyone now, but let me know if something else is broken.

Download!

Any support questions should be asked here for v2.0.0+. I can only help if you give me information about your error: what error message you get, where in the process it’s failing, etc. I can’t do anything if you just tell me “it’s not working”.

And now I’m going to ask you all for help: I have this plugin installed here, but for some reason, the stylesheet is 404ing. It exists, and I’ve looked in firebug and the response text is the correct CSS, so I don’t understand why the browser is telling me the file doesn’t exist. Any ideas? I also had a similar problem with a JS file for a work project, and I never really solved it, just worked around it. They’re on different servers, so that’s not it. Any ideas?

EDIT 8/11/10 First thing: A co-worker figured out the 404 problem, which might be affecting others. The stylesheet calls a require_once on wp-blog-header.php which apparently does something to mess with the headers of the stylesheet (and the other files I had trouble with), so changing that to wp-load.php seems to include all the necessary functions. I’ll upload a fixed version tonight, also changing the div back to an a tag, since I got a few comments questioning that move (there honestly wasn’t much thought behind it, other than I usually ended up putting the link in a div so it would theoretically save code? Well, it’ll be an a again).
Second thing: Custom fields seem to be a much-requested item, so I’ll see what I can do. Widgetizing it also seems popular, but I’m not sure how that works so I’ll look into it before promising anything.

Category Intersection Plugin

Posted on Dec 26, 2008 at 08:15 PM

Description: Enables intersection of categories: [your url]/?cat=1,2&and=1 will show posts only in both categories 1 and 2. [your url]/?cat=1,2&and=0 is the default functionality (shows posts from categories 1 or 2).
Author: Kelly Dwan
Version: 0.2
Wordpress 2.6 – 2.8

My first foray into the world of wordpress plugins, born of need for exactly that functionality. None of the functions we looked into seemed to work properly (there were conditions on the categories, it didn’t work with this version of wordpress…) so it seemed easier to write it myself.

To install, simply add the intersection.php file to your wp-content/plugins directory (remove the .txt extension), and activate the plugin. If, for some reason, you’re still using ver 0.1, and add the line:
<?php if ( function_exists('intersection') ) intersection();?>
in the header template (header.php).

I definitely welcome any comments or feedback, and if there are any questions I’ll try to answer as best I can.
EDIT 02/01/09: Clear up installation instructions.

EDIT 02/02/09: Edited meta in file header with a link to this exact post.

EDIT 06/13/09: New version with hooks, so you don’t even need to add code.

Powered by WordPress