| bio | website | |
|---|---|---|
| location | Berlin, Germany | |
| age | ||
| visits | member for | 2 years, 5 months |
| seen | May 8 at 11:46 | |
| stats | profile views | 75 |
|
May 9 |
awarded | Popular Question |
|
Apr 16 |
awarded | Popular Question |
|
Apr 8 |
accepted | problem using $var for shortcode attr value |
|
Jan 31 |
asked | dynamically get post attachment while editing |
|
Jan 27 |
comment |
localize inline css I see the caching problem, but adding a random css file, has the same problem, as the linkt to the file would be cached.. I guess a little jQuery that sets the css properties is the best way. then it can be randomized clientside, and a cashed page will not look the same each time it's loaded. |
|
Jan 26 |
comment |
group posts by taxonomy terms The final HTML is served from a cache |
|
Jan 26 |
asked | localize inline css |
|
Jan 26 |
comment |
group posts by taxonomy terms right, I'm calling wp_get_object_terms once for each post. But for my case here, the rendered page will be cached, so I judge it's ok. |
|
Jan 26 |
comment |
group posts by taxonomy terms well for now, I'm fetching all connected posts - unsorted. Then I prepare an array with all possible terms as array keys. I then place each post from the result individually into this other array, where I group them by their term_id (by the array keys). Finally I then create the output from the array holding my posts grouped by terms. This way I can also control the order of the terms. It works, and with minimal calls to the DB, and strict use of WP API, but the code becomes rather long, with lots of foreach loops. |
|
Jan 26 |
asked | group posts by taxonomy terms |
|
Jan 24 |
awarded | Nice Question |
|
Jan 21 |
awarded | Popular Question |
|
Jan 20 |
asked | Disable new WP3.5 Media Picker |
|
Jan 14 |
asked | How to assign posts to new CPT slug from DB |
|
Jan 14 |
asked | Get post terms with hierarchical relationships |
|
Dec 20 |
awarded | Yearling |
|
Dec 13 |
answered | Is there ANY way to remove comments function and section totally? |
|
Dec 7 |
comment |
load-* hook for dashboard that would be the main dashboard screen. |
|
Dec 7 |
accepted | load-* hook for dashboard |
|
Dec 2 |
asked | load-* hook for dashboard |