Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

johnbeardy on "Custom post types, slugs, single-post-type template"

$
0
0

I've a custom post type which is displayed through a single-post-type file.

I don't want to display the slug in the URL, and this VIP WordPress hack almost works. "Almost" is because it removes the slug and doesn't break general post/page permalinks, but the custom posts are now displaying as blank, as if single-post-type is no longer being called.

How can I get the slug-less page to call the single-post-type?


Viewing all articles
Browse latest Browse all 8245

Trending Articles