[wp-hackers] Additional file upload writeboxes for posts

Rafael Ehlers rafaehlers at gmail.com
Tue May 31 15:40:34 UTC 2011


Use this plugin http://wordpress.org/extend/plugins/attachments/

On Tue, May 31, 2011 at 12:21 PM, Travis Northcutt <
travis at travisnorthcutt.com> wrote:

> I don't have any advice regarding how to restrict the file types allowed,
> but I suggest you take a look at
> this<
> https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress>
> for
> creating your custom metaboxes. It includes a file upload box in
> example-functions.php.
> --
> Travis Northcutt
>
>
> On Tue, May 31, 2011 at 8:28 AM, graq <wordpress at graq.co.uk> wrote:
>
> > I have a CPT that needs to allow for files (PDFs/docs) to be uploaded
> > against posts. I figured I could store these as attachments, but I can't
> get
> > my head around how to build a custom write box for managing attachments,
> and
> > how to restrict that to certain file types. Can anyone kick start me in
> the
> > right direction?
> > _______________________________________________
> > 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