7,024 reputation
11443
bio website kathyisawesome.com
location
age
visits member for 3 years, 1 month
seen 13 hours ago

WordPress/WooCommerce developer. I like writing plugins, making guacamole, having adventures and saving the day.

If you feel strongly that I've helped you out more than a +1, then consider buying me a cocktail.


1d
comment Wordpress Frontend Check If Current User Is Administrator
The downvote is because you shouldn't need to require any files if you are running your code on an action hook. You never answered what you you were running your code on, so see @bravokeyl's answer for a suggestion.
2d
comment update_usermeta don't work
Adjusted my answer to include that.
2d
comment UPS Shipping Plugin Not Working Wocmmerce
If you bought the plugin from WooThemes you should contact their support.
2d
comment Wordpress Frontend Check If Current User Is Administrator
I agree with @bravokeyl's answer. It totally depends on at what point in the WordPress action process you are calling the file. Your question doesn't really say.
2d
comment How to orderby meta_value_num with dollar ($) sign
I agree with Mayeenul. I would contact the developer and ask him/her to stop saving the $.
2d
comment How to orderby meta_value_num with dollar ($) sign
Why can't you enter a number without a dollar sign and then display the dollar sign on the front-end if needed? I am not sure, but I suspect this would be a very complicated query.
2d
comment How to prevent Wordpress loading external resources when developing
Airplane Mode is the best thing since Betty White.
2d
comment How can I delete all sales history?
It is probably in the database, but plugin-specific questions are off-topic.
Jul
17
comment How I make a shortcode for this code?
Have you reviewed the Shortcode API? Or reviewed a relevant example?
Jul
16
comment Creating wordpress user registration form
I would suggest adding some isset() checks to the $_POST data. Otherwise you might see PHP warnings.
Jul
15
comment Tax Query not working
You have a typo in 'terms' => array($_GET['estado'], $_['cidade']), as you are missing a $_GET. How is $taxonomy_id defined? And what result are you getting? No posts found?
Jul
11
comment Development of arabic version of wordpress site without using plugin or google translate
Why not use a plugin that allows for you to manually manage the translation? Such as Multilingual Press
Jul
8
comment How to modify template tags function
You need to add a little more detail. It is hard to know what you are asking or what you are trying to do.
Jul
8
comment TinyMCE format dropdown no longer showing style previews
According to the TinyMCE demo you can add the styles directly in the custom_formats object. However, I have yet to be able to get this to work via WordPress' PHP filter, so this seems like the next best option.
Jul
8
comment How to customize TinyMCE4 in WP 3.9 - the old way for styles and formats doesn't work anymore
@Dalton thanks for that. The TinyMCE example has colors set in the options object. I assume there is a bug in WP's script or I've incorrectly decoded the options in PHP. The downside to making it filterable is that all the TinyMCE docs are in JS and we've got to send the options to WordPress via PHP.
Jul
4
comment How to get the $atts of a shortcode
You should edit your question then because that wasn't clear. It sounds like you need to unregister the existing shortcode and then add your own... unless the shortcode has a filter you can use to modify the output.
Jul
3
comment How to get the $atts of a shortcode
That's the first I've heard of that. Thanks for the link. Still seems more like it is annoying and not truly "bad".
Jul
1
comment How to add multiple images to a custom post type single post?
You can drag any of the post edit screen's metaboxes around, not to mention you can change the "context" of the Multiple Post Thumbnail's metabox via the arguments you use to initialize it: add "context"=>"normal" to the rest of your arguments.
Jun
28
comment Proper Way to Enqueue CSS for Front Page - template_redirect in functions.php?
Good catch. Done.
Jun
27
comment Proper Way to Enqueue CSS for Front Page - template_redirect in functions.php?
Figured as much. Have done it myself. :)