Results 1 to 2 of 2

Thread: Want to add new Custome Post type

  1. #1
    Affiliate Member AppThemes Affiliate bnimbhal's Avatar
    Join Date
    Aug 2011
    Thanked 0 Times in 0 Posts

    Want to add new Custome Post type


    I want to create a section for "Admission" on my website, Now I want to create the custom post type which is replica of Job Listing Page. Like anyone can also post Admission NEWS/Details after clicking on the "Submit Admission" link and fill the required details.

    What I need is : After clicking on the "Submit Admission" a registration page will open, after registration/Login a new page will open where he can fill the required details and publish.

    After publish the Admission news/details will be displayed like the Job Listing page where students can search course and the location and the list of admission will be displayed.

    After a long search I found something, plz help me is this the procedure or is their any other way.

    I have created custom post code for this

    PHP Code:
        add_action'init''register_cpt_admission' );
    register_cpt_admission() {
    $labels = array(
    'name' => _x'Admission''admission' ),
    'singular_name' => _x'Admission''admission' ),
    'add_new' => _x'Add New''admission' ),
    'add_new_item' => _x'Add New Admission''admission' ),
    'edit_item' => _x'Edit Admission''admission' ),
    'new_item' => _x'New Admission''admission' ),
    'view_item' => _x'View Admission''admission' ),
    'search_items' => _x'Search Admission''admission' ),
    'not_found' => _x'No admission found''admission' ),
    'not_found_in_trash' => _x'No admission found in Trash''admission' ),
    'parent_item_colon' => _x'Parent Admission:''admission' ),
    'menu_name' => _x'Admission''admission' ),
    $args = array(
    'labels' => $labels,
    'hierarchical' => false,
    'description' => 'Admission NEWS',
    'supports' => array( 'title''editor' ),
    'taxonomies' => array( 'category''post_tag''Courses' ),
    'public' => true,
    'show_ui' => true,
    'show_in_menu' => true,
    'show_in_nav_menus' => true,
    'publicly_queryable' => true,
    'exclude_from_search' => false,
    'has_archive' => true,
    'query_var' => true,
    'can_export' => true,
    'rewrite' => true,
    'capability_type' => 'post'
    register_post_type'admission'$args );
    I think this will create a custom post type but same as the POST, but I need like the job listing type and a registration page.

    Plz help me.

    Thanks in advance.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Thanked 3,312 Times in 3,183 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: May 28th, 2012, 10:22 AM
  2. Moving custome field code
    By jonaustin in forum ClassiPress General Discussion
    Replies: 10
    Last Post: October 26th, 2011, 12:36 AM
  3. Moving custome field code
    By jonaustin in forum ClassiPress General Discussion
    Replies: 1
    Last Post: August 28th, 2011, 09:09 AM
  4. Name of custom post type
    By chazmo in forum Report JobRoller Bugs
    Replies: 1
    Last Post: July 10th, 2011, 09:24 AM
  5. Display Custome Field in home page
    By anthonyportal1 in forum ClassiPress General Discussion
    Replies: 2
    Last Post: March 27th, 2011, 01:07 PM