I need a help with a query post:
How do I view the posts that have been modified I say updated example:
a post was added if it was modified today I need to display and what was modified look for a one query post a sort of query_post of revision
Would that be possible? follows an example query_post loop:
<?php
$args = array(
'post_type' => 'post',
'post_status' => 'inherit',
);
?>
<?php $the_query = new WP_Query( $args ); ?>
<?php if ($the_query->have_posts()): while ($the_query->have_posts()) : $the_query->the_post();?>
<!--POST QUE FORAM MODIFICADO ATUALIZADO -->
<?php the_title();?>
<?php endwhile; else: ?>
<?php endif; ?>