Problem with Permalinks
-
I’m having trouble with some wordpress permalinks. See the following link:
https://www.lornabyrne.com/newsletter-list/
It has a list of custom post_types. If you hover over the ‘Read more –>’ link, you’ll notice that the link looks like: https://www.lornabyrne.com/newsletter/xxx-xxx-xxx-xxx-xxx
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')) { bcn_display(); }?> </div>
and the code from functions.php that creates the custom post type:
register_post_type( 'newsletter', array( '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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with Permalinks’ is closed to new replies.