WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom field intended for a rss feed. It is simpley a URL in the field, how do I take that url entered and output it into the correct section in the template?

<?php include_once(ABSPATH . WPINC . '/rss.php');wp_rss('<?php echo get_post_meta($post->ID, 'wpcf-rss', true); ?>', 3); ?>

Does not work

share|improve this question
Please, try to formulate your Question in terms of code, only this description is not enough to provide an answer. – brasofilo Mar 5 '13 at 22:20

You might be able to put this into your template wherever you want to display the RSS custom field:

get_post_meta($post->ID, 'custom field name', true);
share|improve this answer
This is based on the WordPress codex: codex.wordpress.org/Custom_Fields – NW Tech Mar 5 '13 at 21:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.