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

18h
comment How to var dump urls for all posts
Ah you're redirecting!!! This is an important and super useful piece of information :) Thanks for updating your question
23h
answered How to var dump urls for all posts
23h
comment How to var dump urls for all posts
You still need to provide context, why do you want this? Where do you want this? What format do you want it in? Are you trying to put the data into a speadsheet? Edit your question
23h
comment Multiple/different front-pages in one Wordpress site
Please provide hard examples, it is not clear what you want, ( i would argue it isn't clear what you already have either ). Show us before and after, your URLs, your desired URLs, what these pages do, etc. Edit your question to contain these details
1d
comment How to var dump urls for all posts
This seems rather broad, there are multiple questions being asked here, and no context, or examples of what you've tried, or what is available to you. E.g. would a wp cli command be possible? Do you have access to change the code? What problem are you attempting to solve? Please edit your question to provide this information
1d
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
1d
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
1d
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.
1d
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
1d
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