WordPress.org

Ready to get started?Download WordPress

Forums

Simple plugin/ script to add URLS in post? (2 posts)

  1. kuffi
    Member
    Posted 2 years ago #

    Hi everyone,

    I need to know if there's already a plugin like this or if people know refer to pages/ scripts that have something similair.

    When creating a post on my blog I need there to be a simple form that does the following:

    Audio Title: (a)
    Audio URL (Mp3): (b)
    Download URL: (c)

    Which should be converted in to working code looking like this:

    [audioplugintitle url="b" text="a"]
    <a href="c" target="_blank">Download</a>

    Any help would be appreciated!

  2. kuffi
    Member
    Posted 2 years ago #

    For those who are wondering as well.

    It's not the best solution so ideas are still VERY welcome, but for now I'm using the "Post Editor Buttons Fork" plugin. It allows you to add extra HTML tags within your post editor.

    For example you can create a button called H3 which inserts <h3> before a text and </h3> after it.

    So I did this for what I needed:

    Audio URL being 1 function:
    Before: [audioplugintitle url=" and after "

    Audio Title being the second:
    Before: text=" and after: "]

    Download Link:
    Before: and after: `" target="_blank">Download'

Topic Closed

This topic has been closed to new replies.

About this Topic