Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

the post function wordpress

if ( have_posts() ) {
    while ( have_posts() ) {
 
        the_post(); ?>
 
        <h2><?php the_title(); ?></h2>
 
        <?php the_content(); ?>
 
    <?php }
}
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #post #function #wordpress
ADD COMMENT
Topic
Name
4+6 =