Edent, 1 month ago @dan Here's a plaintext functions.php <?php header('Content-Type: text/plain; charset=utf-8'); bloginfo( 'name' ); echo "\n"; if ( have_posts() ) { while ( have_posts() ) : the_post(); if ( get_post_type() == 'post' ) { the_time( get_option( 'date_format' ) ); echo "\n"; } the_title(); echo "\n"; echo strip_tags(get_the_content()); echo "\n"; endwhile; }
@dan Here's a plaintext functions.php
<?php header('Content-Type: text/plain; charset=utf-8'); bloginfo( 'name' ); echo "\n"; if ( have_posts() ) { while ( have_posts() ) : the_post(); if ( get_post_type() == 'post' ) { the_time( get_option( 'date_format' ) ); echo "\n"; } the_title(); echo "\n"; echo strip_tags(get_the_content()); echo "\n"; endwhile; }