pconsti
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Post Type ConfusionI traced it back to a
$postI coded in the sidebar…I don’t know how that should do anything but it works by rebuilding the query afterwards.
Thanks! Great plugin by the way!
Forum: Plugins
In reply to: [Custom Post Type UI] Post Type ConfusionI have traced the
$wp_querya little and there seems to be some real weird problem…I used the SQL-Request in my database and I got that ID correctly. Next I tried
print_r()with that ID and everything was perfectly fine.However, in the loop the
$wp_queryand the$postdisplay the wrong post_type. And I don’t find any morepre_get_post‘s.EDIT: I have narrowed it down to the header. Before
get_header()it’s correct, but after, wrongpost_type.- This reply was modified 8 years, 9 months ago by pconsti.
Forum: Plugins
In reply to: [Custom Post Type UI] Post Type ConfusionThanks, I’ll be checking that once I got time.
Great help!
Forum: Plugins
In reply to: [Custom Post Type UI] Post Type ConfusionSeems like it. I just checked the database, the post is categorized as “post” (column post_type). However the query returns my custom type.
I cannot seem to find the post types in the database, where are they located?
Forum: Plugins
In reply to: [Custom Post Type UI] Post Type ConfusionI just normally created a post type and put some taxonomies in there.
I am not sure, but I don’t think it’s been like this from the beginning.
Very strange indeed…
Could it be because I once tried copying all posts into a new taxonomy but then decided to delete this taxonomy and use the normal posts again? (There is this option to copy all posts into the new taxonomy, I clicked that..)