28 reputation
3
bio website
location
age
visits member for 2 years, 1 month
seen Sep 5 '13 at 16:53

Sep
5
accepted Why would Wordpress use 'attachment' in a custom post type's query string?
Sep
4
answered Why would Wordpress use 'attachment' in a custom post type's query string?
Sep
3
comment Why would Wordpress use 'attachment' in a custom post type's query string?
That makes sense. Is there something with rewrite rules that would look to attachment by default?I think just about all of the code being used, aside from the registration of fb_issue is listed above.
Sep
3
revised Why would Wordpress use 'attachment' in a custom post type's query string?
Added second block of code to help explain potential uniqueness of situation
Sep
2
awarded  Editor
Sep
2
comment Why would Wordpress use 'attachment' in a custom post type's query string?
Posted in the edit.. Both the CPT and tax.
Sep
2
revised Why would Wordpress use 'attachment' in a custom post type's query string?
added 1630 characters in body
Sep
2
asked Why would Wordpress use 'attachment' in a custom post type's query string?
Sep
24
awarded  Student
Sep
5
awarded  Scholar
Sep
5
accepted Use meta_query to get title of associated post
Sep
5
comment Use meta_query to get title of associated post
Actually I think I'm going about this completely the wrong way. I cobbled together code to query a single post when I want to query all journal_entry posts. stealthyninja's solution works for a most recent entry, so I'm marking it correct.
Sep
5
comment Use meta_query to get title of associated post
stealthyninja, your suggestion appears to work. Something must be wrong with my loop though. I'm using the suggestion as-is, yielding nothing, where my loop contains the_title and the_content. However, doing print_r before WP_Query yields: Array ( [post_type] => journal_entry [meta_query] => Array ( [0] => Array ( [key] => custom_author [compare] => LIKE [value] => Sandso Person ) ) ), which appears to be entirely correct.
Sep
4
asked Use meta_query to get title of associated post