WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] Where is post type feedback ? (5 posts)

  1. iTomek
    Member
    Posted 1 year ago #

    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???

  2. hotwebideas
    Member
    Posted 1 year ago #

    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

  3. iTomek
    Member
    Posted 1 year ago #

    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

  4. hotwebideas
    Member
    Posted 1 year ago #

    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

  5. iTomek
    Member
    Posted 1 year ago #

    Ok I know what it is :D

    That theme has contants form ... and that it is "feedback", all emails are collected in that menu as feedback post type :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags