Viewing 1 replies (of 1 total)
  • fireproofsocks

    (@fireproofsocks)

    It’s no different than regular posts, but remember that shortcodes are ONLY parsed when they appear inside the main content block, so if your custom post type doesn’t use the “editor” (as it’s referred do by register_post_type() ), then you won’t be able to use this.

    And just make sure your theme file actually uses the loop:

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    <?php the_content();  // <-- your form should appear here ?>
    <?php endwhile; // end of the loop.
Viewing 1 replies (of 1 total)
  • The topic ‘How to use Contact Form 7 with custom post types?’ is closed to new replies.