| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 8 months |
| seen | Sep 24 '12 at 10:26 | |
| stats | profile views | 147 |
|
Sep 24 |
comment |
Adding first / last CSS classes to menus I'm using that, because last-child is now supported by IE 9 too, and I don't care anymore so much about ie 8, 7.. |
|
Jan 29 |
comment |
Display thumbnail only if requested size exists about the registered sizes |
|
Dec 14 |
comment |
Comment filtering (search) nevermind, I figured it out :) |
|
Dec 12 |
comment |
Fastest way to get the comment and ping total count for a post that doesn't work. you have calls to some weird functions there, which are not available in wp.. |
|
Dec 12 |
comment |
How to load and show comments with AJAX instead of pagination? I will when I'll have a working solution :) |
|
Nov 29 |
comment |
Prevent WordPress from loading comments anyway, I think that I'm forced to use the original query for all comments, because otherwise I'll get issues with threaded comments. WP has a pretty bad comment system... |
|
Nov 29 |
comment |
Prevent WordPress from loading comments well it's pretty much the same as the default function: pastebin.com/DuEkCZDv if you call it with ajax = true it will get only 10 comments, otherwise it will run the sql which gets all the comments... |
|
Nov 29 |
comment |
Prevent WordPress from loading comments Even more weird is if I use the same sql query as WP does, but append add "LIMIT 10" to it. query count increases by 10... |
|
Nov 29 |
comment |
Prevent WordPress from loading comments ok. I ran into something weird :) If I replace WP's sql query with my get_comments() function I get 10 extra database queries reported, but less memory usage. For eg. for a post with 5000 comments, memory usage is 32 MB vs 16 MB. I don't understand how can WordPress make less database queries by selecting 5000 comments than me using get_comments() to pull out only 10 comments.... |
|
Nov 28 |
comment |
Getting $comments outside the comment template what's the difference between using admin-ajax.php and usual site url? |
|
Nov 28 |
comment |
Prevent WordPress from loading comments thanks, I'll just override that template |
|
Nov 27 |
comment |
Getting $comments outside the comment template yes, I've come down to using get_comments() after all. The inconvenient is that now I have to use it on the first page load too, not only on the ajax call... |
|
Nov 27 |
comment |
Getting $comments outside the comment template yes, more comments should be retrieved and appended when a link is pressed. |
|
Nov 26 |
comment |
WP_Query with the “offset” argument that's it. thank you :) |
|
Nov 20 |
comment |
Reproducing hierarchical list output from wp_list_categories, using get_categories() thanks, I ended up creating my own walker.. |
|
Nov 13 |
comment |
Any plugin out there that uses WP's internal image uploader? @Jan Fabry: thanks, didn't find any :( so far your answer on my other questions is the closest to what I'm looking for |
|
Nov 13 |
comment |
Any plugin out there that uses WP's internal image uploader? well, I'm building a gallery using custom post types, and need to open a thickbox when a link is pressed, in which to insert wp's upload form, but only the upload part, not the entire media-uploader pop-up. |
|
Nov 13 |
comment |
Attaching media to custom posts without editor tx, wp insert attachment() seems to do what I want. Any suggestions for a good multifile uploader? |
|
Nov 13 |
comment |
Attaching media to custom posts without editor tx, i tried this and it works, kind of. the problem is that functionality is limited. "insert into post" button missing, gallery tab acting weird. So I guess it's better to make my own upload function. I assume wp_handle_upload() will take care of the uploaded files, but how can I attach these files to the current post? |
|
Nov 13 |
comment |
Basic gallery plugin suggestion the problem is that these galleries are attached to normal posts |