Title: [Plugin: Simple Pie] adding custom field to array
Last modified: August 19, 2016

---

# [Plugin: Simple Pie] adding custom field to array

 *  [porkcharsui](https://wordpress.org/support/users/porkcharsui/)
 * (@porkcharsui)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-pie-adding-custom-field-to-array/)
 * Hi!
 * i’m havig this:
 *     ```
       <?php echo SimplePieWP(array(
       'http://gdata.youtube.com/feeds/base/videos?q=<strong>fifa10</strong>%r&client=ytapi-youtube-search&alt=rss&v=2'
       ),array('items' => '1')); ?>
       ```
   
 * How can I replace “fifa10” with the value of a custom field, in this case: “name”?
 * `<?php echo c2c_get_custom('name'); ?>`
 * (I’m using a custom fields plugin)

The topic ‘[Plugin: Simple Pie] adding custom field to array’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)

 * 0 replies
 * 1 participant
 * Last reply from: [porkcharsui](https://wordpress.org/support/users/porkcharsui/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-pie-adding-custom-field-to-array/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
