Hello reviewers,<div><br>It could be a support forum-alike question, but didn't find that case exactly and decided to check here as well.</div><div><br></div><div>I have three custom post types, one of them is books, I have book listing and so on. But I cant set a post template. </div>
<div><br></div><div>I checked on Justin's post here <a href="http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress">http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress</a> where he describes I could use single-myposttype.php but no luck. What I find more annoying is that get_post_type() in my loop returns attachment post type. I'm pretty sure it's a book as I have books listing and addition in the admin panel and I actually click 'View book' to load the single view there.</div>
<div><br>Any hints what could I have missed?</div><div><br>Thanks in advance.</div><div><br>Mario Peshev<br>freelance software developer/trainer<br><a href="http://www.linkedin.com/in/mpeshev">http://www.linkedin.com/in/mpeshev</a><br>
<a href="http://peshev.net/blog">http://peshev.net/blog</a><br><br>
</div>