Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vdberk

    (@vdberk)

    Dear @jeroenrotty,

    Down below the code you asked for:

    $labels = array(
    ‘name’ => _x( ‘Machines’, ‘post type general name’ ),
    ‘singular_name’ => _x( ‘Machine’, ‘post type singular name’ ),
    ‘add_new’ => _x( ‘Voeg nieuwe toe’, ‘book’ ),
    ‘add_new_item’ => __( ‘Voeg nieuwe machine toe’ ),
    ‘edit_item’ => __( ‘Wijzig machine’ ),
    ‘new_item’ => __( ‘Nieuwe machine’ ),
    ‘all_items’ => __( ‘Alle machines’ ),
    ‘view_item’ => __( ‘Bekijk machine’ ),
    ‘search_items’ => __( ‘Zoek machine’ ),
    ‘not_found’ => __( ‘Geen machines gevonden’ ),
    ‘not_found_in_trash’ => __( ‘Geen machines in de prullenbak’ ),
    ‘parent_item_colon’ => ”,
    ‘menu_name’ => ‘Machines’
    );
    $args = array(
    ‘labels’ => $labels,
    ‘taxonomies’ => array(),
    ‘description’ => ‘Alle machines.’,
    ‘public’ => true,
    ‘menu_position’ => 5,
    ‘menu_icon’ => ”,
    ‘supports’ => array( ‘title’, ‘editor’,’thumbnail’ ),
    ‘has_archive’ => true,
    );
    register_post_type( ‘machine’, $args )

    Best Regards Ramon

    Thread Starter vdberk

    (@vdberk)

    Hello @maybellyne,

    Thanks for your response, i also checked the structered data testing tool before i dropped the question here. The parrent page is not a regular page but a custom post type archive page.
    So not a regular page with a title.
    All other item.name are filled in correct only the parrent page of the single machine page is missing.

    Can you check this for me please.

Viewing 2 replies - 1 through 2 (of 2 total)