We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c28e99b commit cadcfafCopy full SHA for cadcfaf
1 file changed
includes/feed-mf2.php
@@ -15,12 +15,17 @@
15
'properties' => array(
16
'name' => array( get_bloginfo( 'name' ) ),
17
'summary' => array( get_bloginfo( 'description' ) ),
18
- 'url' => array( site_url( '/' ) ),
+ 'url' => array( get_self_link() ),
19
),
20
21
22
);
23
24
+$featured = get_site_icon_url();
25
+if ( ! empty( $featured ) ) {
26
+ $items['items'][0]['properties']['featured'] = array( $featured );
27
+}
28
+
29
while ( have_posts() ) {
30
the_post();
31
$item = new Mf2_Feed_Entry( get_the_ID() );
0 commit comments