Reputation
19,636
Next tag badge:
89/100 score
54/20 answers
Badges
3 21 65
Newest
 Nice Answer
Impact
~815k people reached

11h
comment Category organization advice please
Also, you can use rewrite rules to make nicer looking URLs, that might be a good question to ask about
11h
comment Category organization advice please
As an aside, questions here should be the sort that can be concretely answered since you'll need to mark the correct answer as correct. Something like this might be better in the FB groups or Google+, or the support forums. I've always found local user groups super helpful for these kinds of problems
11h
comment Category organization advice please
if these are standard posts, you shouldn't be creating categories for dates, that functionality already exists e.g. example.com/category/financial-report/?year=2014, see the WP_Query documentation.
20h
comment Why is “/page/2/” not working?
Also, WordPress provides a standard archive page for post types, so you should already have a post archive at /videos/ that will load archive-videos.php, that requires no messing around with queries
20h
comment Why is “/page/2/” not working?
I wouldn't recommend overriding the main query like that, have you considered using pre_get_posts? Then you can use the built in pagination code rather than writing your own, and you can simplify down to a standard post loop
Feb
5
awarded  Nice Answer
Feb
4
comment Can't login/edit on 3 wordpress sites from a particular Windows PC
We can't help you with machine specific browser issues, you'll need to be more specific, and give us WordPress specific information at the server end. Look at your servers PHP error logs, and find something concrete other than "it doesnt work" or "it fails", otherwise Windows != WordPress
Feb
2
awarded  Nice Answer
Jan
31
comment Parse error: syntax error, unexpected end of file in functions.php on line 487
I'd also recommend against PHP closing tags at the end of a file
Jan
31
comment Parse error: syntax error, unexpected end of file in functions.php on line 487
Inconsistent indenting combined with long if statements and a lack of new lines makes this difficult to find the closing tag. I'd also recommend you look up when and how to use wp_reset_query, and what it does. Your usage of it implies you don't understand the purpose of functions such as the_post or setup_postdata, or the evils of query_posts
Jan
31
comment Is it possible to make grandchild themes?
I don't know, that's a limitation of how the storefront theme has been built, at that point you're forced to fork the child theme
Jan
26
revised Missing Argument
added 218 characters in body
Jan
26
comment Missing Argument
My code wasn't a copy paste solution, it requires that you have a basic understanding of PHP. Look at your add_filter call, you only give it 2 arguments, you need to provide a priority and how many arguments your function will accept. Your function accepts 2 arguments, $thumbnail, and $atts, but you haven't told WordPress this
Jan
26
answered Missing Argument
Jan
26
answered JS Support Ticket - Auto create WP account
Jan
25
comment How can I remove the “Visual Composer” menu entry in wp-admin
Mark asks because 3rd party plugins are off topic here, but I believe this is on topic as the problem is how to remove an admin menu in code, that the menu is added by visual composer is simply coincidence. As a side note, I'd recommend against using visual composer, but that's another subject
Jan
25
comment Creating shortcodes in plugin
Your shortcode code won't run, you'll need another piece of code that handles the form processing, that new code will not be in your shortcode
Jan
22
comment Change “You are now logged out” text
keep in mind adding things to the gettext filter has performance implications
Jan
19
comment Difference between a theme and a plugin?
A possible interpretation of the above is that themes define pages, but individual blocks and templates are created using plugins. This is incorrect as it implies that plugins == template partials, or that plugins are widget templates, which is not true. Can you edit the answer to make it clearer that plugins are for logic and themes are for markup/visuals?
Jan
18
answered How to secure or disable the RSS feeds?