WP_Query is the most general-purpose mechanism for extracting content from the WordPress MySQL database.
codex.wordpress.org/Class_Reference/WP_Query
developer.wordpress.org/reference/functions/the_post
codex.wordpress.org/The_Loop_in_Action
The#universe is made of stories, not of atoms, says poet Rukeyser. Music, not matter, says the physicist Heisenberg. Loops & swirls, I say.
attachment, custom_css, customize_changeset, nav_menu_item, page, post, revision
author, comment_count, date, ID, menu_order, meta_value, meta_value_num, modified, name, none, parent, post__in, post_name__in, post_parent__in, rand, relevance, title, type
any, auto-draft, draft, exclude_from_search, future, inherit, pending, private, publish, trash
codex.wordpress.org/Class_Reference/WP_Query
<?php $args = array( 'order' => 'asc', 'orderby' => 'title', 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => 1, ); get_header(); $theObject = new WP_Query( $args ); while ( $theObject->have_posts() ) : $theObject->the_post(); the_author(); the_category(); the_content(); the_excerpt(); the_ID(); the_tags(); the_time(); echo " - "; the_title(); echo '<hr /><hr />'; endwhile; get_sidebar(); get_footer(); ?>