263 reputation
210
bio website adrian.silimon.eu
location Baia Mare, Romania
age 27
visits member for 3 years, 5 months
seen Dec 7 at 23:11

web developer and Java beginner


Oct
9
comment WP Query to order posts by multiple meta fields
Another approach would be to make a new table e.g. wp_poststickyness; with post_id and category_id as fields. Then check if the post ID/cat_id appears there (via custom SQL query) then order by that.
Oct
9
comment WP Query to order posts by multiple meta fields
If you have few hundred thousands posts I would like to let MySQL do the ordering
Oct
9
comment WP Query to order posts by multiple meta fields
Okay what if I would store each meta value in it's own field -e.g. have multiple meta values for category_sticky and category_featured?
Oct
9
asked WP Query to order posts by multiple meta fields
Sep
28
comment Custom post type request switches to media request
Do you have a media file with exactly the same slug by any chance?
Sep
28
answered upload image only
Aug
3
answered How to modify this function to exclude also the post belonging to a specific category?
Aug
3
answered get_the_post_thumbnail not working inside wp_get_nav_menu_items hook
Jul
13
answered register_deactivation_hook argument -> pass arguments in the selected function
Jul
13
comment register_deactivation_hook argument -> pass arguments in the selected function
This will work only with PHP >= 5.3 .
Jul
13
comment Latest comment post should be the first post in the blog
The short answer to your question is "yes".
Jul
13
answered How turn on error reporting without reset?
Feb
25
comment Why are simple updates to wp_postmeta's “_edit_lock” so slow?
it's not abnormal, wordpress uses it to alert users when they are trying to edit the same post/page. I suggest you delete all of the _edit_locks from the wp_postmeta, obviously when there's no one editing and check after any performance improvements. (BTW make a backup first).
Feb
22
comment Why are simple updates to wp_postmeta's “_edit_lock” so slow?
How many results do you get for SELECT * FROM wp_postmeta WHERE meta_key='_edit_lock'; ?
Feb
9
answered Extending WP_Query — Optimise SQL query
Feb
9
answered Any walker causes blank menu?
Feb
8
comment deleted menu still present
According to @Steve the theme is falling back to wp_page_menu if there's no menu defined for that location. Instead of downvoting the question - #facepalm .
Feb
8
answered Change the output of wp_title()
Feb
5
comment Timeout While Upgrading Network in Multi-site
See here: jayminkapish.com/blog/2009/10/08/…
Jan
21
awarded  Caucus