array( 'post', 'fcn_story', 'fcn_chapter', 'fcn_recommendation' ), 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'DESC', 'meta_key' => 'fictioneer_chapter_hidden', 'meta_value' => '0', 'posts_per_page' => get_option( 'posts_per_rss' ), 'no_found_rows' => true ) ); // Feed title $title = sprintf( __( '%s Feed', 'fictioneer' ), get_bloginfo_rss( 'name' ) ); // Feed description $description = sprintf( __( 'Recent updates on %s.', 'fictioneer' ), get_bloginfo_rss( 'name' ) ); // Updated time (any post) $date = mysql2date( 'D, d M Y H:i:s +0000', get_lastpostmodified( 'GMT' ), false ); // Cover image $cover = get_theme_mod( 'og_image' ); // Set header header( 'Content-Type: ' . feed_content_type( 'rss-http' ) . '; charset=' . get_option( 'blog_charset' ), true ); // Echo XML version echo ''; // Fire default action do_action( 'rss_tag_pre', 'rss2' ); ?> > <?php echo $title; ?> <?php echo $title; ?> 32 32 have_posts() ) { // Setup $posts->the_post(); // Data $pub_date = mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); $og_image = fictioneer_get_seo_image( $post->ID ); // <-- Start HTML ?> <?php the_title_rss(); ?> ]]> ' . get_category( $cat )->name . ''; } } if ( $fandoms = get_the_terms( get_the_ID(), 'fcn_fandom' ) ) { foreach ( $fandoms as $fandom ) { echo '' . $fandom->name . ''; } } if ( $genres = get_the_terms( get_the_ID(), 'fcn_genre' ) ) { foreach ( $genres as $genre ) { echo '' . $genre->name . ''; } } if ( $characters = get_the_terms( get_the_ID(), 'fcn_character' ) ) { foreach ( $characters as $character ) { echo '' . $character->name . ''; } } if ( $tags = get_the_tags( get_the_ID() ) ) { foreach ( $tags as $tag ) { echo '' . $tag->name . ''; } } rss_enclosure(); do_action( 'rss2_item' ); ?>