WordPress.org

Support

Support » Plugins and Hacks » Custom Field Template » [Plugin: Custom Field Template] Showing HTML code in "after" text

[Plugin: Custom Field Template] Showing HTML code in "after" text

  • Trying to show a snippet of html code after a specific field, basically to allow copy/paste of that specific code into the field itself. Yet when I add text to the ‘after’ option for the field, it applies the code as code rather than showing it.

    ie:
    [recipe_prep]
    type=textfield
    label=Recipe Prep Time
    size=20
    after=1 hour 30 min <span class=”value-title” title=”PT1H30M”>

    I want the ‘after’ text to show in full – span classes an all – so that I can easily copy and paste that code later into the field itself. Ideas on how to accomplish this?

Viewing 1 replies (of 1 total)
  • I’m having the same problem. Would like to know if there’s an escape character that I can use so that I can place this in there:

    after = wrap each in <div class="video-clip">

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Field Template] Showing HTML code in "after" text’ is closed to new replies.
Skip to toolbar