WordPress.org

Ready to get started?Download WordPress

Forums

Creating Custom Tag for use in HTML Editor (3 posts)

  1. tomer1960
    Member
    Posted 2 years ago #

    Hello,
    I am quite new to wordpress/PHP development.
    I want to createt custom tags the I can embedded in the html editor
    and it will be replaced (only in rumtime) with other html/javascrip code.
    for example:

    <H1>Custom Tag Test</H1>
    [mainTitle]

    will be replaced in runtime with the code:

    <H1>Custom Tag Test</H1>
    <TABLE>
    .....
    </TABLE>
    <SCRIPT>
    getTitleText (....);
    </SCRIPT>

    Do I have to write a plugin ?
    Is the another alternative ?
    If I have to write a plugin - can I get an example of plugin that translate tag to code ?

    Thanks,
    Tomer

  2. keesiemeijer
    moderator
    Posted 2 years ago #

  3. tomer1960
    Member
    Posted 2 years ago #

    It's look great
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic