Forums

[Plugin: Simple Pie] adding custom field to array (1 post)

  1. porkcharsui
    Member
    Posted 2 months ago #

    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)

Reply

You must log in to post.

About this Topic