Custom fields in RSS
-
I am using Toolset Types to create custom posts types.
I have a custom template that renders the content for these post types to display the custom fields of another (associated) post using Advance Custom Fields and the following code in the template:<?php $RefID = get_field("PostID");; $TweetField = get_field("TweetField"); the_field($TweetField, $RefID); ?>
It displays the content correctly. But since there is no actual content in the post itself (it’s being dynamically generated through the code above) the rss feed for this post type renders nothings. I assume because the content is empty.
Does anyone have a suggestion on how I can dump the dynamic content to output to the rss feed for this post type?
Any suggestions/advice would be helpful.
- The topic ‘Custom fields in RSS’ is closed to new replies.