293 reputation
316
bio website cfwilson.com
location Cleveland, OH
age 34
visits member for 3 years, 9 months
seen Jul 1 at 12:06

Hopefully one day I'll understand what I'm doing enough to be able to help someone else.

Don’t make something unless it is both necessary and useful; but if it is both necessary and useful, don’t hesitate to make it beautiful. — SHAKER PHILOSOPHY


1d
awarded  Popular Question
Sep
15
awarded  Popular Question
Jul
2
awarded  Curious
May
26
awarded  Notable Question
Dec
12
awarded  Popular Question
Nov
3
comment How to auto send email when publishing a custom post type?
@toscho or furio, this is working almost perfect for me, thanks, do either of you know how to modify it so each user just sees that it was sent to them, not to user1, user2, user3...
Sep
14
awarded  Popular Question
Jul
1
awarded  Popular Question
May
23
awarded  Popular Question
Jan
4
comment post_class remove tag- or category- from slug
that's exactly what I mentioned doing in the comments to toscho's answer
Jan
4
accepted post_class remove tag- or category- from slug
Jan
4
comment post_class remove tag- or category- from slug
I see now what you are getting at. I guess I'll just add category- or tag- to the slug I'm trying to match to the post_class, and that will work just as well. Thanks for the answer, and for steering me away from using it.
Jan
4
comment post_class remove tag- or category- from slug
Are you saying you wouldn't use something like this for body_class or that using this for post_class could cause issue with body_class?
Jan
4
comment post_class remove tag- or category- from slug
I'm going to be working with isotope to do some filtering, isotope.metafizzy.co/docs/filtering.html, I've built my links for filtering like this, <a href="#"data-filter=".'.$category->slug.'">'.$category->name.'</a>, I need to match $category->slug to the class but it appeared I was getting the slug with category or tag tacked on at the beginning.
Jan
4
asked post_class remove tag- or category- from slug
Dec
23
comment Attempting to filter posts using get_terms
That looks like something I'll have to try, I've been moved off that project until the new year, but I'll be sure to come back and let you know how it worked. Thanks
Dec
18
comment Attempting to filter posts using get_terms
My thought to deal with that was to delete the tag.php & category.php archives so that all would default to archive.php
Dec
18
asked Attempting to filter posts using get_terms
Nov
8
comment Make wp_dropdown_categories into a variable that persists until changed?
Well that works as long as I only bounce from category to category, here's the catch. Say I have two posts, one is category1/tag1, the other is category2/tag1. If I'm looking at the post from category1 and click on it's tag (tag1) I only want to see category1/tag1 posts but instead I see all posts with tag1.
Nov
8
comment Make wp_dropdown_categories into a variable that persists until changed?
Currently I just have the wp_dropdown_categories, really wasn't sure where to go with it from there, I just threw together a pastebin with pseudocode here, pastebin.com/CqiEXJZg