0

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

  • 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
0

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);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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