Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
atom_enclosure example
<?php
echo
get_post_modified_time
(
'Y-m-d\TH:i:s\Z', true
)
; ?></updated> <published><?php
echo
get_post_time
(
'Y-m-d\TH:i:s\Z', true
)
; ?></published> <?php
the_category_rss
(
'atom'
)
; ?> <summary type="<?php
html_type_rss
(
)
; ?>"><![CDATA[<?php
the_excerpt_rss
(
)
; ?>]]></summary> <?php
if
(
!
get_option
(
'rss_use_excerpt'
)
)
: ?> <content type="<?php
html_type_rss
(
)
; ?>" xml:base="<?php
the_permalink_rss
(
)
; ?>"><![CDATA[<?php
the_content_feed
(
'atom'
)
; ?>]]></content> <?php
endif
; ?> <?php
atom_enclosure
(
)
;
/** * Fires at the end of each Atom feed item. * * @since 2.0.0 */
do_action
(
'atom_entry'
)
;
if
(
get_comments_number
(
)
||
comments_open
(
)
)
:
?> <link rel="replies" type="<?php
bloginfo_rss
(
'html_type'
)
; ?>" href="<?php
the_permalink_rss
(
)
; ?>#comments" thr:count="<?php
echo
get_comments_number
(
)
; ?>" /> <link rel="replies" type="application/atom+xml" href="