• hi to anyone.
    i’m new to wordpress and sorry if this is a already discussed subject.

    i would like to know if there’s a way to change the regular link code inserted in the post when i upload a sound with media uploader. i should prefer something like

    [audio:/uploads/.../mymp3file.mp3]

    currently here it is what i’m doing :
    – i’m using “upload a sound” link (not sure it’s the exact words but i’m using a translated version of wordpress)
    – i browse my computer and choose the file.
    – when ulpload is done, i fill title field and choose url of the file in the “link target” field
    – then i push the insert in post button…

    thx for your help

Viewing 7 replies - 1 through 7 (of 7 total)
  • admin – settings – miscellaneous
    set uploads folder there

    What you describe sounds like the standard way to upload a media file and then insert it into a WordPress post or page. What’s the problem?

    Thread Starter frenchydanzer

    (@frenchydanzer)

    The problem is that the inserted code is then
    <a href="mymp3file">mytitle</a>

    And i would prefer sth like

    [audio:mymp3file|mytitle]

    Thx

    Why?

    Thread Starter frenchydanzer

    (@frenchydanzer)

    the final user will use the “wysiwig” tab of the editor. and i think it’ll be more clear to him if audio elements are not displayed the same way as regular link.

    I agree that a shortcode is… well… shorter but it’s no less cryptic than a standard link from the average end user’s pov. Plus, if the end user is using the Visual Editor, they’ll just see an underlined link – not the markup.

    Thread Starter frenchydanzer

    (@frenchydanzer)

    ok. i understand.
    but i keep thinking it’s better for end user if he can see the difference between a regular link and a mp3 link.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘changing code when upload a mp3 file’ is closed to new replies.