[wp-hackers] Structured Blogging - getting extra plugin hooks inserted in the WP code

steve cooley steve at somejunkwelike.com
Tue Dec 13 02:05:18 GMT 2005


I think i could benefit for this kind of functionality.  I want to  
build a fine art announcement and patron management plugin.  I can  
see 90% of what I want to do in wordpress (specifically announcing  
new artwork availability via posts, tagging genre and media types by  
categories, RSS, art venues as subscriber level members), and I'm  
looking at similar issues.  I'd like to be able to enter in meta data  
like number of prints in an edition, media size, links to additional  
photos...  all structured kinds of posts, same meta data every time.   
It seems like the easiest way is to create a custom post.php file  
that would let me enter in these custom fields, but then I run into  
the same problems.

so, to put it shortly: "Me too, please"

-Steve

On Dec 12, 2005, at 5:39 PM, Phillip Pearson wrote:

> Hi all,
>
>
> The reason I'm writing here is that to change the editing interface  
> this extensively, we had to step outside the plugin API.  We've  
> copied post.php to sb-post-common.php and edit-form.php to sb-edit- 
> form.php, made our changes in there, and used them when publishing  
> the new post types.  This isn't much fun, as it means we need to  
> track post.php and edit-form.php and release a new version whenever  
> anything important happens.

...

>
> I've been over the code and I think what we'd need is:
>
> - the ability to change where post.php redirects to after a post is  
> published.
>
> - do_action() calls before and after the edit form (or maybe just  
> the 'description' field) is displayed - so we could use ob_start()  
> and ob_end_clean() to cut out the edit form and display our own  
> form in its place.
>
> - the ability to change the 'Write Post' heading into something else.
>
> If we submit a patch to add plugin API hooks to do these things, is  
> there a chance of having it considered for WP1.6?
>
> Cheers,
> Phil :-)
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



More information about the wp-hackers mailing list