116 reputation
4
bio website
location Sweden
age
visits member for 1 year, 6 months
seen May 13 at 10:24
stats profile views 11

working at hypernode.se


Nov
9
comment How in WordPress disable publishing post without tags?
What exactly are you trying to do? do you want to prevent post from beeing published if no tags is set?
Aug
20
comment 404 Error on Custom Post Type / Custom Taxonomy
read about the rewrite argument.
Feb
1
comment How do I “unhook” / de-register jQuery so that it's not called as part of wp_footer();?
Did some testing and you are correct.
Feb
1
comment How do I “unhook” / de-register jQuery so that it's not called as part of wp_footer();?
You should use the 'wp_enqueue_scripts' hook, not wp_footer.
Dec
17
comment Auto add content such as pages upon plugin activation?
Add a options page and create a form on that page. Send a get variable and check if isset($_GET['createpage']). if it is call a function.
Dec
15
comment Show TwentyEleven header image only on home page
that if statement checks if it is home and prints the image. It will not display on other pages
Dec
14
comment Search by meta_query
look at line 62 and 66 in search.php. you have the new query in $the_query but trying to access the result in $events_query.
Dec
12
comment Search by meta_query
Here is some code to put you in the right direction: gist.github.com/1464337
Dec
12
comment Search by meta_query
On the template page you want the search to appear, I think it's index.php in your code (bloginfo('url')). You add it right before before the loop. See here: codex.wordpress.org/Class_Reference/WP_Query Sorry for the short answer but im working on a demo on gist.github.com for you.
Dec
11
comment Can you make a custom metabox field be required to save a new post?
ptriek: But for a simple validation like this thats overkill. But not a bad idea