| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 10 months |
| seen | 17 hours ago | |
| stats | profile views | 2 |
|
Mar 28 |
answered | Generate daily archive whenever any post type is added |
|
Mar 28 |
comment |
Generate daily archive whenever any post type is added That's a good bit of direction for debugging. I dumped what was contained in the global $wp_query on the 404 for a daily archive I was looking for. And this is the SQL query returned (note the lack of a post_type such as 'news'). SELECT SQL_CALC_FOUND_ROWS wpt_3_posts.ID FROM wpt_3_posts WHERE 1=1 AND YEAR(wpt_3_posts.post_date)='2013' AND MONTH(wpt_3_posts.post_date)='1' AND DAYOFMONTH(wpt_3_posts.post_date)='9' AND wpt_3_posts.post_type = 'post' AND (wpt_3_posts.post_status = 'publish' Is there any possible hook for changing that post_type to 'any'? |
|
Mar 28 |
asked | Generate daily archive whenever any post type is added |
|
Dec 18 |
asked | get_query_var('paged') always returns empty |
|
Oct 30 |
accepted | How to use “Cases” instead of “IFs” for conditional logic |
|
Oct 29 |
comment |
How to use “Cases” instead of “IFs” for conditional logic Ah brilliant and more stream-lined that I was originally thinking. The concept of remembering "key" + "value" is where I went off course with my attempts. Going to bookmark this :) |
|
Oct 29 |
comment |
How to use “Cases” instead of “IFs” for conditional logic A fair point, I wasn't 100% sure how the distinct for a question like this was made between the two sites. |
|
Oct 29 |
asked | How to use “Cases” instead of “IFs” for conditional logic |
|
Oct 26 |
answered | Retrieving custom taxonomy in order, but excluding specific tax IDs |
|
Oct 25 |
asked | Retrieving custom taxonomy in order, but excluding specific tax IDs |
|
Oct 24 |
awarded | Supporter |
|
Oct 10 |
awarded | Scholar |
|
Oct 10 |
accepted | Return only the custom sub-term for custom post type, do not echo term-parent |
|
Oct 9 |
awarded | Student |
|
Oct 9 |
asked | Return only the custom sub-term for custom post type, do not echo term-parent |
|
Jul 4 |
revised |
Conditional tags issue for multiple is_page() conditions in sidebar.php edited title |
|
Jul 4 |
answered | Conditional tags issue for multiple is_page() conditions in sidebar.php |
|
Jul 3 |
awarded | Editor |
|
Jul 3 |
revised |
Conditional tags issue for multiple is_page() conditions in sidebar.php edited title |
|
Jul 3 |
asked | Conditional tags issue for multiple is_page() conditions in sidebar.php |