404 error page using the_permalink()
-
Hi,
I have a huge problem with my custom post type and I have NO IDEA why it won’t work, since it used to work perfectly before and I didn’t really change anything on the code. It looks like this:
<h3><?php the_title(); ?></h3> <?php while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<nav class="pagination">', 'after' => '</nav>')); ?> <?php endwhile; ?> <?php wp_reset_query(); ?>
I have 3 of my 7 articles from my custom post type displayed on the front site but when I click on their links using the_permalink(), it always brings me to a 404 page.
How do I fix this?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘404 error page using the_permalink()’ is closed to new replies.