Support » Fixing WordPress » How to show all posts on custom post

  • Hello,

    I want a mirror page of default home page with all the posts of the site. Or please tell how to use loop.php code for custom post which can show all the post with newly added first.

    Thank you,
    Parth Goradia.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This might be helpful:
    http://codex.wordpress.org/The_Loop

    Moderator Dash10

    (@justingreerbbi)

    Forum Moderator

    Look up the loop

    <?php query_posts('post_type=Custom_post_type_name'); ?>
    
      <?php while (have_posts()) : the_post(); ?>
        <!-- format for output go here -->
      <?php endwhile;?>

    Thank you very much Shibu and Justin.

    I have created a template and make a page which is using this template. Now I able to put all the posts in that page. But the problem is of “expert”. It’s not coming with the post Do you have any solution for this?

    Thanks in advance,
    Parth.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to show all posts on custom post’ is closed to new replies.