422 reputation
311
bio website derk-jan.karrenbeld.info
location Delft, The Netherlands
age 23
visits member for 3 years, 3 months
seen yesterday

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
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 :)
Jan
16
comment Combining custom post type and post category
I actually did not test it - just wrote it here, maybe I made a typo, but a white page usually means an error. Let me try it.
Jan
16
revised Combining custom post type and post category
Improved question after author commented on his post. The question is now more clear.
Jan
16
awarded  Commentator
Jan
16
comment Combining custom post type and post category
I edited both your question to reflect the comments you just made and my response should provide with what you need. See the Either this or That section. That said, really look at the link @TomJNowell posted. It is vital when creating queries. Also take a look at the link in my post to WP_Query to see what options are available.
Jan
16
suggested approved edit on Combining custom post type and post category
Jan
16
revised Combining custom post type and post category
Fixed typos
Jan
16
answered Combining custom post type and post category
Jan
16
awarded  Custodian
Jan
16
reviewed Reject How can i simulate “taxonomy__in” in query?
Jan
16
comment How can i simulate “taxonomy__in” in query?
@Marius Ah. Do you want to list all the cities? Or all the posts in all the cities?
Jan
16
suggested approved edit on How can i simulate “taxonomy__in” in query?
Jan
16
comment Performance concerns: index.php vs taxonomy-$taxonomy.php
@DanielSachs Haha, but if all the archive layouts are the same or have to be in the same place, at least try to get up the tree with archive.php. Nevertheless, you could always implement get_template_part( 'content', 'some-archive' ) or something similar. Yes, a lot of people don't know about it, but it's kinda vital. As a rule: if there is a $variable (not $_variable) there is [almost always] a hook of filter. That's in the coding guidelines of the WP Core ;) (Almost always: en.wikipedia.org/wiki/Almost_surely)
Jan
16
revised Performance concerns: index.php vs taxonomy-$taxonomy.php
Added readability and fixed some grammar
Jan
16
answered Performance concerns: index.php vs taxonomy-$taxonomy.php
Jan
16
answered How can i simulate “taxonomy__in” in query?
Jan
16
comment Redirect Old .php URLs to New Wordpress Page
@AndrewM I added a solution which actually puts in the URL for you :)
Jan
16
answered Redirect Old .php URLs to New Wordpress Page
Jan
16
comment Is it ever okay to include inline CSS in plugins?
@Dustin if it absolutely needs it to function, you should still allow the user to break the Plugin. Just make sure you enqueue it in the first place. If the user knows how to dequeue a style, lets assume that he also knows he is breaking the plugin by doing so. But that's a leap of faith I think we should all take.