154 reputation
17
bio website
location
age
visits member for 2 years, 6 months
seen Aug 13 at 19:18

1d
awarded  Notable Question
Mar
14
asked What variables from the main query do I take over to make an archive load a page out of the loop?
Jan
9
comment What is the proper way to add a required field to a post type?
I'd just like to say that this was in fact a duplicate answer and that I did find my answer in the link above.
Jan
7
asked What is the proper way to add a required field to a post type?
Nov
5
accepted Why is the post type on the search result page random?
Nov
5
comment Why is the post type on the search result page random?
Hmm I guess I assumed that it had to be associated with something. In my header code I have a check for a specific sidebar that only appears for a specific post type and since the post type seemed random I would sometimes get the sidebar and sometimes not. Seeing how this is the correct behaviour I just added an is_search check and it works now. I'll just have to be more mindful in the future. I'll mark this answer as correct since it fixed another issue I was having! :)
Nov
5
comment Why is the post type on the search result page random?
Hmm well that solved the problem where I had no results but the post type is still random. Is there a way (and must I) tell wordpress that my search.php is a "page" the same way you set a page to be your blog and your front page?
Nov
5
comment Why is the post type on the search result page random?
I just copy posted stuff from the codex (codex.wordpress.org/Creating_a_Search_Page) and then changed how many results I wanted to display.
Nov
5
comment Why is the post type on the search result page random?
Oops sorry guys, search.php content would be extremely handy! I edited the original question with the code. I think this might be a situation where I've misunderstood something in theme development and I've been doing it wrong all this time (hence why I'm trying to solve this once and for all haha)
Nov
5
revised Why is the post type on the search result page random?
added 1071 characters in body
Nov
5
asked Why is the post type on the search result page random?
Oct
24
comment Add validation and error handling when saving custom fields?
Could you elaborate on "Since the post ID is part of the transient name"? I created a class to handle error messages using this technique but I require my constructor to pass a user_ID. Does the transient API use the user_id when hashing the key? (I ask because the codex doesn't seem to mention this)
Oct
24
comment Add validation and error handling when saving custom fields?
@pospi this seems to have similar issues as the original use of the get_option and update_option functions. So I guess the solution would be to append the current user's ID to the key?
Jul
4
awarded  Popular Question
Jul
2
accepted Why are my widgets not saving when being added to a sidebar?
Jun
27
asked Why are my widgets not saving when being added to a sidebar?
Jun
25
awarded  Critic
Jun
6
awarded  Commentator
Jun
6
accepted How to keep a CPT from being visible on the front end?
Jun
6
comment How to keep a CPT from being visible on the front end?
I'm a dink, it's all in the same filter. wordpress.stackexchange.com/questions/17885/…