| bio | website | derk-jan.karrenbeld.info |
|---|---|---|
| location | Delft, The Netherlands | |
| age | 21 | |
| visits | member for | 1 year, 9 months |
| seen | Jun 17 at 0:00 | |
| stats | profile views | 11 |
Still a random idiot
He is, including, but not limited to, a dancer, does competitions in sailing and ballroom- and latin dancing, designs yearbooks, writes for the faculty magazine about computer science and mathematics, writes about local events, voluntary work and other youth talent in the local newspaper, and about lymphoma (cancer) and other inspiration on his blog. Any free time is filled with friends, family, learning himself to play piano and game-development.
Enjoys every moment of life.
|
Jan 20 |
awarded | Enlightened |
|
Jan 17 |
awarded | Nice Answer |
|
Jan 17 |
awarded | Critic |
|
Jan 16 |
reviewed | Reviewed Performance Gains of Relational DB Setup |
|
Jan 16 |
awarded | Custodian |
|
Jan 16 |
reviewed | Reviewed Rewriting a page driven by custom fields to populate a page dynamically, like posts |
|
Jan 16 |
comment |
Rewriting a page driven by custom fields to populate a page dynamically, like posts Do you mean you are not showing posts, just data from custom fields? Presumably in an array? You can unshift data to that array, so it will be inserted on the front. Or are you using a custom field to order the custom posts that are being displayed. |
|
Jan 16 |
comment |
Combining custom post type and post category I said it's currently not possible to combine the OR statement in a single WP_Query fetch. The problem is solvable. Both my and Toms solutions should do the trick. |
|
Jan 16 |
comment |
Combining custom post type and post category @kallekillen try the current code. |
|
Jan 16 |
revised |
Combining custom post type and post category Tried to incorporate authors code |
|
Jan 16 |
revised |
Combining custom post type and post category Updated with authors code |
|
Jan 16 |
awarded | Citizen Patrol |
|
Jan 16 |
suggested | suggested edit on Combining custom post type and post category |
|
Jan 16 |
revised |
How can i simulate “taxonomy__in” in query? Marius added this code to my answer. Added it here as it's part of the question. Also updated the question after comments. |
|
Jan 16 |
comment |
Performance concerns: index.php vs taxonomy-$taxonomy.php You are very welcome! The reason is that you effectively cut two queries per page load (the ones you were overwriting). I suggest looking at slideshare.net/andrewnacin/… if you want to understand why it became so much faster. |
|
Jan 16 |
comment |
Combining custom post type and post category If you want to display ONLY video category posts that are of the custom post type video, use the query on the top of my answer instead of the two provided in the solution. |
|
Jan 16 |
comment |
Combining custom post type and post category It should display BOTH the video post type posts as well as any post with the video category. That is what you wanted, right? And no, they are not combinable in one query if that is what you're asking for. |
|
Jan 16 |
comment |
How can i simulate “taxonomy__in” in query? Edited the code accordingly. |
|
Jan 16 |
revised |
How can i simulate “taxonomy__in” in query? Edited solution after comments from author. Missing comma. |
|
Jan 16 |
comment |
Combining custom post type and post category Thanks @TomJNowell! Just caught it when you posted that :) |