Reputation
8,848
Next privilege 10,000 Rep.
Access moderator tools
Badges
22 39
Newest
 Nice Answer
Impact
~514k people reached

Mar
21
awarded  Nice Answer
Jan
13
awarded  Enlightened
Jan
13
awarded  Nice Answer
Oct
29
awarded  Good Answer
Aug
31
awarded  Guru
Aug
11
awarded  Yearling
Nov
18
answered WP Query post meta value
Nov
17
awarded  Good Answer
Oct
17
awarded  custom-post-types
Oct
16
awarded  Nice Answer
Oct
11
comment Testing hooks callback
Also worth pointing out that the the WP Core unit test framework is an amazing tool for running INTEGRATION tests, which would be automated tests to ensure that it integrates well with WP itself (e.g. there are no accidental function name collisions, etc.).
Sep
30
awarded  Explainer
Sep
12
awarded  Good Answer
Aug
18
comment Dump custom post type database
To add to this answer, it's much better to do it through code than direct SQL query because the code method will do some cleanup such as resetting taxonomy counts and deleting post meta.
Aug
11
awarded  Yearling
Jul
24
comment AJAX filter posts on click based on category
Before answering any more in depth, could it be the typo in add_action( 'wp_ajax_oad_cat_posts', 'load_cat_posts' ); (i.e. wp_ajax_oad should be wp_ajax_load)?
Jun
4
awarded  Enlightened
Jun
4
awarded  Nice Answer
Apr
17
comment Is there a way to have custom post type and page with the same slug?
I edited the answer around the same time you commented. Does my edit address your question?
Apr
17
revised Is there a way to have custom post type and page with the same slug?
added 531 characters in body