168 reputation
5
bio website
location United States
age
visits member for 2 years, 10 months
seen Oct 15 at 22:52

Aug
1
awarded  Teacher
Aug
1
awarded  Editor
Aug
1
revised Display on page every post in blog WITH comments
added 311 characters in body
Aug
1
comment Display on page every post in blog WITH comments
That probably means your theme doesn't use "template parts," i.e. there is no content.php or content-[POST_TYPE].php. Its a relatively new addition to Wordpress, so older themes do not use it. No biggie, though, as you can replace my get_template_part() function call with the_content(); comments_template(); and it should work as expected.
Aug
1
awarded  Commentator
Aug
1
comment What's the impact on WordPress' performance regarding the amount of classes/files in a plugin?
My gut feeling is "more files, more abstraction, slower code" but I highly, highly doubt it would bottleneck the system before your database layer. Not posting this as an answer because its just speculation, but I'd say you're a bit premature on this specific type of optimization.
Aug
1
answered Display on page every post in blog WITH comments
Aug
1
comment Add space to the end on a widget
This is a style issue, though. And without any of your code it will be impossible to go any further.
Aug
1
answered Add space to the end on a widget
Jul
31
comment Using radio button meta data from a custom meta box
Ah, I wanted to see that output. Its just some debugging code that shows us exactly what is going on in your $_POST. Could you add that output to your question?
Jul
31
answered How to send form values from the script in functions.php and not from the form on my website?
Jul
31
answered How to stop mobile theme inheriting desktop navigation menu?
Jul
31
comment How to stop mobile theme inheriting desktop navigation menu?
How are you switching from theme to theme? I assume some sort of php browser/device detection? My guess is that whatever theme switching code you have doesn't handle menus.
Jul
31
comment Using radio button meta data from a custom meta box
Can you dump out $_POST for us, because your code looks fine. In that last check_this, add echo '<pre>' . print_r($_POST, true) . '</pre>';
Jan
30
comment How to enqueue script based on post category?
Hmm, I'm doing this in a theme I'm currently developing and it worked for me. Seems obvious, but are you sure you have posts in the 'mouse' category? Are you sure the slug of that category is exactly mouse? Are you browsing to a single post (or page)?
Jan
30
answered How to enqueue script based on post category?
Jan
30
awarded  Scholar
Jan
30
accepted Saving custom metabox data with a twist
Jan
30
comment Saving custom metabox data with a twist
So unsetting $_POST['product']['homefeature'] fixed it! I'm still confused at why this would happen, because even if save_post is called twice it should work.
Jan
30
comment Saving custom metabox data with a twist
I am handling the autosave, but if its called twice then maybe I can solve my problem by unsetting some POST variables. I'll give it a try.