I have recently been trying to <?php?> my way into outputting links on the main page for enclosures. At issue is the fact that if an enclosure value is called (as either an array or a string with
get_post_meta, respectively) it returns all the information regardless of line breaks. This of course nullifies links since it includes the filesize and mimetype. I know it’s possible to parse the line breaks or otherwise the “
url= length= type=” in the feed itself would be impossible.
…but I have no idea how to do such a thing.
- The topic ‘Enclosure Feild Output as a Link’ is closed to new replies.