Support » Plugin: Breadcrumb NavXT » Problem with Permalinks

  • Resolved stephen_connolly


    I’m having trouble with some wordpress permalinks. See the following link:

    It has a list of custom post_types. If you hover over the ‘Read more –>’ link, you’ll notice that the link looks like:

    When I click on it, it does bring me to the correct page. But on that page if you click on ‘Newletter List’ in the breadcrumb it does not bring me back to the actual list page as expected.

    Code that creates the breadcrumb:

    <div class="breadcrumbs">
                <?php if(function_exists('bcn_display'))

    and the code from functions.php that creates the custom post type:

    register_post_type( 'newsletter',
                        'labels' => array(
                        'name' => __( 'Newsletter List' ),
                        'singular_name' => __( 'Newsletter List' )
                    'public' => true,
                    'has_archive' => true,
                    'posts_per_page' => 10

    So I’m just wondering what to do ?

    Regards, Stephen

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik


    Well, is ‘Newsletter List'(the resource pointed to by a page? If so, and you have ‘Archive Display’ enabled for that post type within the Breadcrumb NavXT settings that’s probably the problem. Breadcrumb NavXT uses the archive page returned by the get_post_type_archive() function. If you want to use a page (in your case it doesn’t make sense as you are using it just as a archives page), then you need to set a “Root Page” for that post type (to be the ‘Newsletter List’ page) and leave ‘Archive Display’ unchecked.

    Thanks very much mtekk, that solved the problem.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with Permalinks’ is closed to new replies.