[wp-hackers] Hooking into Post -> Edit Screen

Eric Holmstrom hypecreations at gmail.com
Mon Oct 26 21:32:50 UTC 2009


Thanks William, Sharon and Mohammad was able to solve my problem

On Tue, Oct 27, 2009 at 7:13 AM, Mohammad Jangda <batmoo at gmail.com> wrote:

> If you really want it in that position you could add your content to the
> $actions array:
>
> <?php
>
>  add_filter('post_row_actions', 'add_below_title', 10, 2);
>
>
> > function add_below_title( $actions, $post ) {
>
>
> > $actions = array_merge(array("stuff"=>"Your new content goes here"),
> > $actions);
>
>
> > return $actions;
>
> }
>
> ?>
>
>
> This should add a span with the class "stuff" and the content "Your new
> content goes here" to the front to the actions.It'll be hidden though, so
> you'll have to add in custom CSS styling to override the WordPress
> defaults.
>
> On Mon, Oct 26, 2009 at 11:42 AM, Sharon Chambers <sharon at brewerradio.com
> >wrote:
>
> > Try the action
> > manage_posts_custom_column
> >
> > Where you could add your own custom column to the edit posts page.
> > -Sharon
> >
> >
> > -----Original Message-----
> > From: wp-hackers-bounces at lists.automattic.com [mailto:
> > wp-hackers-bounces at lists.automattic.com] On Behalf Of Eric Holmstrom
> > Sent: Monday, October 26, 2009 1:32 AM
> > To: wp-hackers at lists.automattic.com
> > Subject: [wp-hackers] Hooking into Post -> Edit Screen
> >
> > Hi All,
> >
> > Is it possible to hook into the admin post -> edit screen and add text
> > under
> > the post title but above the Edit | Quick Edit | Delete | View? I have
> > include an image below which illustrates what I'm trying to achieve.
> >
> > http://img5.imageshack.us/img5/1460/ashec.jpg
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> 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