WordPress.org

Support

Support » Themes and Templates » Twenty Twelve » [Resolved] Where is post type feedback ?

[Resolved] Where is post type feedback ?

  • Hello 🙂

    In menu I see option /wp-admin/edit.php?post_type=feedback … but what is this? I don’t see that post type or anything like that.

    What is it???

Viewing 4 replies - 1 through 4 (of 4 total)
  • iTomek, That sounds like a custom post type called “feedback”. Check your WP-Admin back end for a menu item called Feedback or something like that title and that is what it is referring to. I have a WordPress site with 8 post types and each one of them would be /wp-admin/edit.php?post_type=promotions, /wp-admin/edit.php?post_type=invitations, /wp-admin/edit.php?post_type=poll-results, etc.

    Bruce

    But this is show up after installing Twenty Twelve (I think) theme, and I have only:

    content-aside.php
    content-image.php
    content-link.php
    content-none.php
    content-page.php
    content-quote.php
    content-status.php
    content.php

    norhing about feedback

    Oh, I understand now. There is no special file for a custom post type since it is a post, so you would use content.php or even content-single.php if your theme has it.

    To capture code for your feedback post type, use this code:

    <?php
    $post_type = get_post_type( $post->ID );
    if($post_type=="feedback")
    {
    /* Process the feed post type. */
    
    } else {
    /* Process any OTHER post type. */
    }
    
    ?>

    I hope this helps,
    Bruce

    Ok I know what it is 😀

    That theme has contants form … and that it is “feedback”, all emails are collected in that menu as feedback post type 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Where is post type feedback ?’ is closed to new replies.
Skip to toolbar