blog page title instead of blog post title
-
$myposts = get_posts(''); foreach($myposts as $post) : setup_postdata($post); the_title(); the_content(); endforeach; wp_reset_postdata();
I am using this code but instead of blog post titles its displaying blog page title with every blog. I want blog post title with each blog
- The topic ‘blog page title instead of blog post title’ is closed to new replies.