5,924 reputation
11248
bio website mrwweb.com
location Seattle, WA
age 27
visits member for 3 years, 9 months
seen 15 mins ago

I make WordPress sites for a living, mostly for nonprofits, as MRW Web Design.

I like supporting the WordPress community by offering support here and on the .org Support Forums. I've released plugins include Post Status Menu Items, Feature a Page Widget, MRW Web Design Simple TinyMCE, and Advanced Custom Fields Repeater and Flexible Content Collapser.


Jun
11
comment How to display two random-post sections that are each under their own category
Please post the original code and copied code here so we can see what you're working with.
Jun
2
comment get_categories returns top-level categories instead of child categories
If there's a way to directly get the ID rather than transform the term, that's going to work more often, I suspect. Re: production, you can always var_dump into an html comment: <!-- <?php var_dump( $current_cat_id ); ?> -->
Jun
1
comment Custom theme .mo translation file not working
Doublecheck that you're using the correct textdomain, have the textdomain listed in the style.css header, and have loaded it correctly.
Jun
1
comment Custom theme .mo translation file not working
What are you trying to translate? WordPress? A theme? a plugin?
May
11
comment Running WP Cron on specific local time
Or even use 2 * HOUR_IN_SECONDS! The WordPress time constants are great for readability.
Apr
13
comment How to use wp_dequeue_style() for style enqueued in WP_Widget class
Switched to solution #2, but I couldn't get #1 to work at all.
Apr
10
comment How to write specific HTML code with a specific custom field?
Sounds like you're in need of custom post meta and the get_post_meta() function or one of the many plugins like ACF that help manage post meta data. Right now, your question is probably too broad for a good answer here. If you can update it with some code you've tried, you're more likely to get a good answer.
Apr
9
comment wordpress theme link url
Great. Make sure to accept the answer with the Green check mark then.
Apr
9
comment wordpress theme link url
Did it answer your question?
Apr
8
comment How to modify a taxonomy that's already registered
Make sure you use the same slug (e.g. 'people_category') as the original taxonomy so that you overwrite it.
Apr
8
comment Sorting Posts by custom field
The if() clause in the snippet sets which pages (technically which queries) the sorting applied to. You had said Category pages so I went with that. You can use most other conditionals there without problem. Leave the last two things alone to avoid screwing up other parts of WordPress. If you really want to grok this, read the linked Codex page and even watch Nacin's "You Don't Know Query" talk on WordPress.tv.
Apr
3
comment Set Transient on CPT
Ok. Next, set delete_transient('graduate_student_query'); right at the top of your snippet. Then var_dump() $graduate_student_query right after you set it. That'll make sure your WP_Query is working. (You also may just have accidentally set some junk value for the transient once.) This can be handy too: wordpress.org/plugins/transients-manager
Apr
3
comment Set Transient on CPT
What do you get if you var_dump() $graduate_student_query before the if() clause?
Apr
2
comment Overriding taxonomy and custom post type
I'm not sure I understand your question then. Are you trying to override the taxonomy itself (e.g. it's settings or name) or are you trying to override the taxonomy's template? Those are completely different things. Please see if you can clarify your question and include the code that you've used and isn't working.
Apr
2
comment Overriding taxonomy and custom post type
Hi @webdev. I think this is a duplicate of either wordpress.stackexchange.com/questions/161788/… or wordpress.stackexchange.com/questions/65075/… depending on what you mean by "custom taxonomy post type." Which one answers your question?
Mar
30
comment How to get html tag ids from template?
If you're more specific about what you're trying to do, people may be able to give you better and more targeted advice. There are some (not many) cases where it's easy(er?) to filter markup.
Mar
30
comment How to use wp_dequeue_style() for style enqueued in WP_Widget class
This is a fantastic answer, thank you. I want to quickly test both, but assume I'll accept once confirmed.
Mar
17
comment Use register_post_type() to modify an existing post type
This is a much cleaner way to do it in most cases; however, it should be noted that this filter is too late to get picked up by rewrites so the accepted answer must be used instead in those situations.
Mar
16
comment How can I hide post title from Categories menu in side bar?
Welcome to WordPress StackExchange! Is this a question about finding or using a specific plugin? If so, third-party plugin questions are unfortunately off topic for WPSE. It doesn't look like this is the stock "Categories" widget that comes with WordPress.
Mar
16
comment I want to create a posts widget and be able to select categories
Once you can, please post your solution as an answer to this question and accept it if it's the best one.