6,421 reputation
727
bio website
location
age
visits member for 2 years, 10 months
seen 16 hours ago

I sell sea shells by the sea shore.


Jan
27
comment What is better to use, user meta, custom taxonomies or new database structure?
You don't need to store the username, but at the time of following, the lookup is cheap to perform and if you needed to show a user who (by name) is following them, you would already have that data stored in a serialized value against their user_id in the usermeta table. If you are only showing counts, then omit the username (I personally would store it, although not neccessary). continued...
Jan
27
answered What is better to use, user meta, custom taxonomies or new database structure?
Jan
20
awarded  Constituent
Jan
15
comment
You had me at "After..."
Jan
14
awarded  Caucus
Dec
26
reviewed Approve Display one latest post from multiple categories
Dec
26
reviewed Approve Restrict individual category combinations
Dec
5
answered Load custom css after bootstrap
Dec
5
revised Load custom css after bootstrap
edited title
Nov
26
revised Allowing Yoast SEO plugin to track me
deleted 7 characters in body
Nov
17
comment Passing a parameter to filter and action functions
Not only do you get an up-vote for a quality answer to a problem that should have a built in solution within WP core, you also get one for coming back five months later to update your answer with the PHP 5.3+ closure example.
Oct
31
awarded  Enlightened
Oct
31
awarded  Nice Answer
Oct
15
comment How to install wpengine hosted multisite locally
Even though you think you have, you probably haven't. Did you copy WPEs config file ad-hoc and modify those details or did you start from a fresh install/config file? Paste your config file contents (blank out sensitive details). WPEs config files are tailored to their environment.
Oct
15
comment Remove custom metaboxes from custom post type
Meta boxes are added to the global $wp_meta_boxes array. You can inspect the array, empty it entirely, and pass in your desired meta boxes for registration on the desired page(s) you specify in your condition. Look closely at add_meta_box and remove_meta_box in wp-admin/includes/template.php for more help.
Oct
12
revised WooCommerce Total Inventory
title spelling
Oct
7
answered Function to echo (or display?) wordpress tags in the head section
Oct
5
comment latitude/longitude meta_query
Switch from using query_posts to WP_Query instead. That aside, what is the result of your query when you pass it into var_dump($query)? Also do you have your debug constant defined in your wp-config file?
Oct
5
comment Why does WordPress add 0 (zero) to an Ajax response?
Use die() or exit() after you echo your content/data. In the success/complete callback function of your ajax method, you can then manipulate the data and use it to populate the DOM. You can also do any additional error checking to validate data integrity. You can also do error checking in your PHP callback function prior to output. Essentially exiting after returning your response will ensure you don't also get the 0 along with it. By the way just because you receive a 0 response does not mean your ajax call was 100% successful. However its easy to tell when you inspect your output.
Oct
4
answered Why does WordPress add 0 (zero) to an Ajax response?