WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type Built: What Next? (1 post)

  1. martcol
    Member
    Posted 1 year ago #

    I have managed to add a custom post type in a plugin using online tutorials. I don't know what to do next. I have copied the single.php and archive.php from my theme as single-listing.php and archive-listing.php but that does nothing.

    I have put this <?php query_posts( 'post_type=listing' ); ?> in my page following some of the instructions in tutorials I have read but still limited success.

    I have read loads of stuff on CPT but I am not a coder. Most of the material online gives heaps of information on how to build a CPT but little advice about what to do after.

    What I am trying to achieve is a directory site using a CPT.

    What should I do next?

    thanks

    Martin

Topic Closed

This topic has been closed to new replies.

About this Topic