Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include(dirname(__FILE__) .'./wp-blog-header.php');
- query_posts( $args );
- if ( have_posts()) : while ( have_posts() ) : the_post();
- echo get_the_id().' , '; the_permalink(); echo get_the_content();
- endwhile;
- else:
- echo '
- <p>Erro 404</p>
- ';
- endif;
- wp_reset_query();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement