1,711 reputation
31341
bio website webdevstl.com
location St. Louis, MO
age 23
visits member for 3 years, 4 months
seen 3 hours ago

I'm a Web Developer who is constantly learning the trade. I've built and manage 50+ WordPress websites with the help of the talented Web Designers around me. I'm currently looking for ways I can help the WordPress community grow and maintain its awesomeness!


2d
comment Is there a plugin that allows me to replicate events on a weekly, bi-weekly basis?
Plugin Recommendations are strictly off-topic.
2d
comment wordpress function and condition if
have you tried debugging?
2d
comment wordpress function and condition if
maybe try using the save_post filter.
2d
revised wordpress function and condition if
Edited the question so it's more readable.
2d
comment wordpress function and condition if
Your function doesn't work because $value doesn't exist in your function. I'm not sure what $value is supposed to be or where it's being set but it needs to either be passed into the function or set before the conditional statement is run.
2d
suggested suggested edit on wordpress function and condition if
2d
comment Accessing Post ID Within Loop
By the looks of your system you only need 1 term, so if you know that there are $terms, which is already in array, you could just say $brand = $terms[0]->term_id then run through your switch statement. That would negate the need for the foreach and the join()
2d
accepted Pre Get Posts - Difference between conditional() and $query->conditional()?
2d
revised Pre Get Posts - Difference between conditional() and $query->conditional()?
[Edit removed during grace period]
2d
asked Pre Get Posts - Difference between conditional() and $query->conditional()?
Nov
25
comment Custom taxonomy archive is visible to only subscibed users
Are you certain that there are no plugins causing this issue? Could you edit your question and list the plugins you have installed? Can you disable all your plugins to see if that changes the situation?
Nov
25
revised Regenerate Slugs From Title of Posts
Brought the question back on topic and not plugin recommendation
Nov
25
comment Portable Post Links
While this isn't the answer you're looking for, whenever I move a domain I end up also running a database update which runs through the post_content and changes any links: update wp_posts set post_content = replace( post_content, 'stagingdomain.com', 'actualdomain.com' );
Nov
25
suggested suggested edit on Connecting a taxonomy with a post type
Nov
25
suggested suggested edit on Regenerate Slugs From Title of Posts
Nov
24
comment Should I sanitize an email address before passing it to the is_email() function?
True, better safe than sorry and the sanitization overhead would be entirely unnoticeable.
Nov
24
revised Should I sanitize an email address before passing it to the is_email() function?
added 138 characters in body
Nov
24
answered Should I sanitize an email address before passing it to the is_email() function?
Nov
23
asked mysqli_real_connect() - authentication method unknown to the client Warnings
Nov
21
revised How to add upload field in a custom taxonomy?
added 291 characters in body