We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5acc0c commit c28e99bCopy full SHA for c28e99b
1 file changed
includes/feed-jf2.php
@@ -9,7 +9,16 @@
9
10
require_once dirname( __FILE__ ) . '/class-mf2-feed-entry.php';
11
12
-$items = array( 'type' => 'feed' );
+$items = array(
13
+ 'type' => 'feed',
14
+ 'name' => get_bloginfo( 'name' ),
15
+ 'summary' => get_bloginfo( 'description' ),
16
+ 'url' => get_self_link(),
17
+);
18
+if ( ! empty( $featured ) ) {
19
+ $items['featured'] = $featured;
20
+}
21
+
22
while ( have_posts() ) {
23
the_post();
24
$item = new Mf2_Feed_Entry( get_the_ID() );
0 commit comments