WordPress.org

Support

Support » Plugins and Hacks » Drop down list of all post in custom post type

Drop down list of all post in custom post type

  • I’m struggling to find an answer.
    I would to list all my posts in a custom post type.
    I found this for archives:

    <select name="archive-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;">
      <option value=""><?php echo esc_attr( __( 'Select Month' ) ); ?></option>
      <?php wp_get_archives( 'type=monthly&format=option&show_post_count=1' ); ?>
    </select>

    but I want to get the custom posts not the monthly archives.

    Any ideas?

  • The topic ‘Drop down list of all post in custom post type’ is closed to new replies.
Skip to toolbar