Title: [Plugin: Custom Field Template] WordPress does not process custom text field
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] WordPress does not process custom text field

 *  Resolved [proximity2008](https://wordpress.org/support/users/proximity2008/)
 * (@proximity2008)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/)
 * This could be really simple but:
 * I have a custom field as a textfield with tinyMCE.
    If I attach an image to the
   custom field the image shows up fine but the caption is not processed on the 
   front end. It literally is outputted as [caption id="attachment_646" align="alignnone"
   width="225" caption="caption information"]: …image…[/caption]
 * How do I get around this? Do I need to run content through a function to get 
   it outputting properly first?
 *     ```
       [Image Column]
       type = textarea
       cols = 36
       rows = 10
       tinyMCE = true
       mediaButton = true
       class= imagecol
       output = true
       ```
   
 * Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [kandi_nyc](https://wordpress.org/support/users/kandi_nyc/)
 * (@kandi_nyc)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139239)
 * have you been able to find a solution for this? i’m having the same issue.
 * thanks!
 *  [kandi_nyc](https://wordpress.org/support/users/kandi_nyc/)
 * (@kandi_nyc)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139246)
 * can anyone provide assistance?
 *  Thread Starter [proximity2008](https://wordpress.org/support/users/proximity2008/)
 * (@proximity2008)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139262)
 * Hi Kandi,
 * Yes I got is sorted:
 *     ```
       <?php
       $unprocessedfield = get_post_meta($post->ID, 'nameofyourcustomfield',true));
       $processedfield = apply_filters('the_content', $unprocessedfield );
       echo $processedfield;
       ?>
       ```
   
 *  [manntis](https://wordpress.org/support/users/manntis/)
 * (@manntis)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139294)
 * I don’t get how that fixed it.
 * When I use the method above, I still get the close tag for caption showing
 * [/caption]then article text begins
 *  [morethanever](https://wordpress.org/support/users/morethanever/)
 * (@morethanever)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139317)
 * Manntis,
 * proximity2008’s solution didn’t work for me either,
    while this, which seems 
   identical, did:
 * echo apply_filters(‘the_content’, get_post_meta($post->ID, ‘nameofyourcustomfield’,
   true));
 * i don’t know if it’s a PHP4 thing or maybe the way strings are stored/displayed.
   Hope that helps.
 *  [zandercent](https://wordpress.org/support/users/zandercent/)
 * (@zandercent)
 * [16 years ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139339)
 * just thought I’d point out that there’s an extra ‘)’ in here – it should be
 *     ```
       <?php
       $unprocessedfield = get_post_meta($post->ID, 'nameofyourcustomfield',true);
       $processedfield = apply_filters('the_content', $unprocessedfield );
       echo $processedfield;
       ?>
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Custom Field Template] WordPress does not process custom text
field’ is closed to new replies.

 * 6 replies
 * 5 participants
 * Last reply from: [zandercent](https://wordpress.org/support/users/zandercent/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/plugin-custom-field-template-wordpress-does-not-process-custom-text-field/#post-1139339)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
