| bio | website | |
|---|---|---|
| location | Ann Arbor, MI | |
| age | 29 | |
| visits | member for | 1 year, 4 months |
| seen | May 18 at 23:55 | |
| stats | profile views | 16 |
|
Jun 16 |
comment |
Template redirect is_tax() not working Also, is_tax() is deprecated as of 3.0. You should be using taxonomy_exists() instead. |
|
Jun 10 |
answered | Taxonomy slug by term ID |
|
Jun 7 |
answered | How to implement different color schemes in your themes |
|
Jun 7 |
comment |
How to implement different color schemes in your themes Wouldn't option 1 be just as much to maintain as option 2? Wouldn't common.css be included in the theme's style.css? If I were doing it, I would put all the common css in the theme's style.css (that's what it's for, right?), and create separate stylesheets for the color options. If you wanted to separate common.css from style.css you could @import common.css from the color option's sheet instead of enqueuing it separately. |
|
May 9 |
comment |
Dynamic page slug for Custom Taxonomies? It may help you to clarify that "fine_art_category" is your taxonomy, and "wood", and "metal" are terms of that taxonomy. You may find this post helpful: WordPress Archive Pages Based on Custom Taxonomy as well as the codex documentation on Template Hierarchy. |
|
May 9 |
accepted | redirecting improperly after updating custom taxonomy term when referring from CPT edit page |
|
May 8 |
comment |
redirecting improperly after updating custom taxonomy term when referring from CPT edit page @toscho Thanks for the info, I just revised the answer a little bit to include esc_url where it seemed appropriate per your suggestion. |
|
May 8 |
revised |
redirecting improperly after updating custom taxonomy term when referring from CPT edit page added a few sanitation functions per suggestion |
|
May 7 |
revised |
redirecting improperly after updating custom taxonomy term when referring from CPT edit page forgot to add in usage of the get_current_url() function |
|
May 7 |
comment |
redirecting improperly after updating custom taxonomy term when referring from CPT edit page @toscho Thanks! I used urlencode for the redirect url in the 2nd code box above, is that what you're referring to? Where else should it be escaped - in the value attribute of the redirect hidden field? Should esc_url() always be used instead of urlencode or is there a proper use case for each? |
|
May 7 |
answered | redirecting improperly after updating custom taxonomy term when referring from CPT edit page |
|
May 6 |
revised |
redirecting improperly after updating custom taxonomy term when referring from CPT edit page added 244 characters in body |
|
May 6 |
asked | redirecting improperly after updating custom taxonomy term when referring from CPT edit page |
|
Apr 28 |
awarded | Supporter |
|
Apr 28 |
comment |
How do I add my own custom shortcodes? I would also like to recommend this plugin (Shortcoder) as one of the best that I have found for creating custom shortcodes. Very simple & easy to use UI and .. everything works. The other plugin I would recommend for more advanced shortcodes would be Post Snippets. |
|
Apr 28 |
comment |
How do I add my own custom shortcodes? haha no big deal. I've only just been active on this forum for a few months now and I have already seen your posts all over the place so I know you know what you're doing. I just wanted to point that out for other n00bs like me :) |
|
Apr 28 |
comment |
How do I add my own custom shortcodes? I'm sure you knew this but it's important to note that the function should return the value instead of echoing it. From the shortcode api codex page: "The return value of a shortcode handler function is inserted into the post content output in place of the shortcode macro. Remember to use return and not echo - anything that is echoed will be output to the browser, but it won't appear in the correct place on the page." |
|
Apr 24 |
comment |
Add a Separator to the Admin Menu? @JimGeurts - it's not working for me either :/ |
|
Apr 21 |
comment |
Releasing new plugin version, how to rename old options keys? it sounds like you know what you need to do. see here for the function hook I think you are looking for. I believe when upgrading a plugin it will fire the activation hook after installing the new version. |
|
Apr 16 |
asked | How to consolidate multiple static page templates into one dynamic one? |