45 reputation
18
bio website
location
age
visits member for 2 years, 7 months
seen yesterday

2d
comment Woocommerce product image
At this moment I made smaller the original file :) Thanks for tips!
2d
comment Woocommerce product image
Thank you! it worked!
Apr
1
comment Remove pages from backend list *and* update counter accordingly
Thank you it worked like a charm!
Apr
1
comment Remove pages from backend list *and* update counter accordingly
Thank you G.M what would be changes for being 5.2 compatible? Because I dont have permissions to update php ...
Apr
1
comment Remove pages from backend list *and* update counter accordingly
Thanks for fast reply. But I tried and got error: Fatal error: Cannot use object of type stdClass as array in
Apr
1
comment Remove pages from backend list *and* update counter accordingly
I got error: Parse error: syntax error, unexpected T_FUNCTION in this line: $excluded = array_filter( array_map( 'get_post', $exclude_pages_from_edit ), function($p){ if ( ! empty($p) && $p->post_type === 'page' ) return $p; } );
Apr
1
comment Remove pages from backend list *and* update counter accordingly
As you can see there are 16 pages, published 15 and private 1. oi57.tinypic.com/2enw30h.jpg I hidden some pages but this counter is the same, it should be published 14 pages, because I hidden one page with ID 4.
Feb
12
comment Administrator role capabilities
Thank you for tips!
Feb
12
comment Administrator role capabilities
I was logged as super admin, so it wasnt working ... now it works fine :)
Feb
12
comment Administrator role capabilities
I tried to do this, but not working...
Jan
9
comment Wordpress Multisite add widget on new blog
Maybe will be any ideas ?
Dec
23
comment Custom image sizes add to metadata
I need only to update ['sizes'] in original file metadata... How can I make it ?
Dec
23
comment Custom image sizes add to metadata
As I found that wp_update_attachment_metadata erases all image metadata and adds what you update ? because now I get only with sizes info, how to add original file metadata ?
Dec
14
comment wp_set_object_terms not working in functions.php with custom taxonomy
I found that when I register a new taxonomy. In functions.php i printed all taxonomy and there are no registered taxonomies, only default taxonomies. Array ( [category] => category [post_tag] => post_tag [nav_menu] => nav_menu [link_category] => link_category [post_format] => post_format )
Dec
12
comment Make thumbnail from uploaded image without plugin
Without plugin!
Nov
26
comment Make thumbnail from uploaded image without plugin
I was using this, but it hasnt crop position.
Jul
11
comment Wordpress custom search by post type
Ok I have several post types: Forum, reply, topic, post, page. I need that if reply when search in post content, if topic when search in post title, and the others search in post title and in post content ? Did I made right? $search .= "{$searchand}(((post_type != 'topic' OR post_type != 'reply') AND ($wpdb->posts.post_title LIKE '{$n}{$term}{$n}' OR $wpdb->posts.post_content LIKE '{$n}{$term}{$n}')) OR (post_type = 'reply' AND $wpdb->posts.post_content LIKE '{$n}{$term}{$n}') OR (post_type = 'topic' AND $wpdb->posts.post_title LIKE '{$n}{$term}{$n}'))";
Jul
11
comment Wordpress custom search by post type
Thank you very much! I will try tomorrow, because all day was trying to figure out this ... I was trying in wp-includes/query.php in get_posts funcion... Maybe would be easier to use filter ? how can I implement this ? I am sure that i need to change condition there: $search .= "{$searchand}(($wpdb->posts.post_title LIKE '{$n}{$term}{$n}') OR ($wpdb->posts.post_content LIKE '{$n}{$term}{$n}'))";
Jun
1
comment BBPress AJAX problem
I need the old version because where are lots of modification. But I am trying with fresh install too and still no luck...
Jun
1
comment BBPress AJAX problem
no i changed in unique and nothing ...