WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Widget
BEFORE and AFTER tags (2 posts)

  1. Tim Berneman
    Member
    Posted 2 years ago #

    I'ld like to be able to put code before and after the custom field and use the value. In my case I have an email address in a custom field. I would like to be able to put the emailto tag around the actual value but I would also need to include the value in the code. For example:

    [BEFORE]

    [AFTER]

    http://wordpress.org/extend/plugins/custom-field-widget/

  2. Tim Berneman
    Member
    Posted 2 years ago #

    Since my example had an anchor tag it kinda fubar'd my example. Not used to posting code so I will do it again below using the code button(s).

    [BEFORE] <a href="mailto:[custom_field_value_here]">
    *** Custom field that is normally outputted here ***
    [AFTER] </a>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic