Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter themev

    (@themev)

    We are using a custom post type as follows

    register_post_type(‘article’,
    array(
    ‘labels’ => $labels,
    ‘public’ => true,
    ‘has_archive’ => true,
    ‘show_in_nav_menus’ => true,
    ‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’, ‘author’, ‘excerpt’, ‘comments’, ‘revisions’),
    ‘taxonomies’ => array(‘post_tag’, ‘category’)
    )
    );

    We are then using a custom permalink structure for the post type

    $article_structure = ‘/%category%/%article%’;
    $wp_rewrite->add_permastruct(‘article’, $article_structure, false);

    Maybe what we are attempting is outside the scope of this plugin?

Viewing 1 replies (of 1 total)