[Plugin: WP Easy Post Types] Can't view custom posts after publishing
-
Hi There.
I am having an issue viewing the custom posts.
I have set my permanlink by default for wordpress as a custom structure: %postname%/And this somehow seems to be conflicting with the custom post types.
I.e. One of my custom post types is named “Phones”.
So this doesn’t work: http://www.domain.com/phones/htc-desire-hd/ (which is the default wordpress gives under my custom permalink structure)
While this does work: http://www.domain.com/?phones=htc-desire-hd/ (which is what I get if I set the permalinks to the default option).The permalinks work perfectly for normal posts.
Is there anything I can do or change to get the links working without changing my permalinks back to the default, as they are currently good for SEO and the default makes them show up as numbers, not names.Also, on my main page, I have loops that show the excerpts, images and names of articles based on categories … but when I use categories for the custom post types, they don’t show up … any ideas on what I need to do?
My current code looks like this:<?php query_posts(array('cat'=>'143,146,145,144,154','showposts'=>2,'post__not_in'=>$do_not_duplicate)); ?> <?php //---------------------------------------------------------------------// ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div id="front-small-image"><a href="<?php the_permalink() ?>" rel="bookmark"><?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(75,75), array("class" => "featured")); } ?></a></div> <h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> <?php the_excerpt('');?> <?php endwhile; else : ?> <?php endif; ?>Regards
Itai
The topic ‘[Plugin: WP Easy Post Types] Can't view custom posts after publishing’ is closed to new replies.