WordPress.org

Support

Support » Themes and Templates » [Resolved] media file association with post/page

[Resolved] media file association with post/page

  • Greetings all.

    How do I 1) associate an uploaded media file with a page or post, and 2) write code in my theme to handle the media file rather than inserting it via the WP editor?

    For example, I want to be able to upload an MP3 file, and attach it/associate it to one or more post(s) through the WP GUI. Then in my theme I want to test for the presence of an associated MP3 file and wrap it with a flash media player if the audio file exists.

    Thanks

  • The topic ‘[Resolved] media file association with post/page’ is closed to new replies.