ymousley
El Presidente
Friendly Neighbour
Member Likes (0)
Is it possible to modify status so that it works with a custom post type? It's exactly what I need for a custom post type that I've already created.

Responses (8)
Support Chimp (joined March 2010) Likes (0)
It certainly is possible but I don't believe there is an option within the plugin to do so.
You would need to make some code modifications, if that isn't something you feel comfortable doing then I would suggest hiring a developer. You can post jobs on the following link if you wish:
http://premium.wpmudev.org/wpmu-jobs
Member (joined March 2011) Likes (0)
Hi Timothy,
I'm fine with modifying the plugin - in most cases this is a matter of changing the post type to an array that includes the custom post type (I've successfully "updated" a few plugins that didn't support custom post types this way before) for instances where it needs to work for multiple post types, and simply changing the post type for single instances (like this one, where I'd only want the plugin using one custom post type).
I just need a head start on where this is for this plugin. I haven't been able to find a syntax similar to the ones in plugins I've done this with before. Can you ask a developer where I might change this?
Member (joined March 2011) Likes (0)
Any update here on where I might go to change the post type that status posts go to?
Support Chimp (joined March 2010) Likes (0)
I haven't yet had a real chance to familiarise myself with this plugin, I have played with it before, briefly though.
I presume it would be a post format of "status" so I would start looking for that if it were me.
I will ping a couple of others whom might be able to offer better advice than myself.
Member (joined March 2011) Likes (0)
I'm not sure if it's different on multi-site, but on a single install it doesn't create a new post type at all - it just goes to the default category under regular posts.
The simplicity in posting is great, so I understand why categories, tags, etc. aren't included by default (you can change those things if you save the update as a draft), but being able to have updates in their own section separate from regular posts would be great.
I'm looking at this as an alternative to PressThis, which also doesn't work for custom post types. I'm still fiddling around with that, but I think it might be easier with status.
Member (joined March 2011) Likes (0)
bumping this. Any suggestions from the developers on where to change the post type this goes to?
Support Chimp (joined March 2010) Likes (0)
Hi ymousley.
Thank you for your patience, I'm sure you can appreciate that with the release of 3.3 developers focus more on ensuring plugin and theme compatibility. As well as that its fast approaching that hectic time of the year. The developer is tagged on this thread so he is aware of it and I'm sure once he gets a moment he will pop in. :-) I'll ping him again.
All the best for the festive season. :-)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi ymousley,
Taking a good look at the plugin code, it looks like this would require a rather extensive adjustment, a bit outside support parameters here. The plugin has been designed for use with regular posts and you'd have to consider taxonomy support, post format, and other things to get it working for other post types.
You can take a look at class_wdqs_admin_pages.php to see where the bulk of work is done, in functions like create_post () on line 254, where the actual posts are created.
You could maybe try adding post_type to the array at line 268, there's just a lot to account for like the taxonomies and whether your post type uses the other parameters like post format, etc.
Perhaps that'll help get you started though?
-David
Become a member