how to get post_author inside loop
-
hi
i want to have the post_author value from wp_posts table withing the theame index file’s while loop.?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date(”,'<h2>’,'</h2>’); ?>
………………….more code here that is skipped.
<?php endwhile; else: ?>inside this loop how can i get the post_author from wp_posts table?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to get post_author inside loop’ is closed to new replies.