Support » Fixing WordPress » Custom Post Type on Home page

  • Hello,

    I am trying to modify the 2010 theme to display a Custom Post Type called Movies on the home page.

    What is the best way to do this?

    So far I’ve created a loop-index.php file and added:
    <?php query_posts($query_string . '&post_type=movie'); ?>

    to the top of it. This seems to work, but I’d like to know if there is a better way to do this?

  • The topic ‘Custom Post Type on Home page’ is closed to new replies.