خرید بک لینک

Vote count: 0

Here is the code, the 5th and final one is not showing up in the ADMIN CP Panel. All the others are working fine, but when I try add a 5th one. nothing shows up. Not sure if there is a limit or something, does not appear to be from what I have read.

add_action( 'init', 'create_post_type' );
function create_post_type() {
  register_post_type( 'Slides',
    array(
      'labels' => array(
        'name' => __( 'slides' ),
        'singular_name' => __( 'slide' )
      ),
      'public' => true,
      'has_archive' => true,
    )
  );

    register_post_type( 'Programs',
    array(
      'labels' => array(
        'name' => __( 'programs' ),
        'singular_name' => __( 'program' )
      ),
      'public' => true,
      'has_archive' => true,
    )
  );

    register_post_type( 'Boards',
    array(
      'labels' => array(
        'name' => __( 'Boards' ),
        'singular_name' => __( 'sponsor' )
      ),
      'public' => true,
      'has_archive' => true,
    )
  );

    function create_post_type() {
  register_post_type( 'acme_product',
    array(
      'labels' => array(
        'name' => __( 'Products' ),
        'singular_name' => __( 'Product' )
      ),
      'public' => true,
      'has_archive' => true,
    )
  );

}

asked 19 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 26 تير 1395 ساعت: 22:47

صفحه بندی