function the_syndication_source_link($original = NULL) { echo get_syndication_source_link($original); }
function feedwordpress_item_feed_data() { // In a post context.... if (is_syndicated()) { ?> <source> <title><?php print htmlspecialchars(get_syndication_source()); ?> </title> <link rel="alternate" type="text/html" href="<?php print htmlspecialchars(get_syndication_source_link()); ?> " /> <link rel="self" href="<?php print htmlspecialchars(get_syndication_feed()); ?> " /> <?php $id = get_syndication_feed_guid(); if (strlen($id) > 0) { ?> <id><?php print htmlspecialchars($id); ?> </id> <?php } $updated = get_feed_meta('feed/updated'); if (strlen($updated) > 0) { ?> <updated><?php print $updated; ?> </updated> <?php } ?> </source> <?php } }
function source_url($atts) { $param = shortcode_atts(array('original' => NULL), $atts); return get_syndication_source_link($param['original'], $this->id); }