Reputation
Top tag
Next privilege 15 Rep.
Flag posts
Badges
1 6
Newest
 Commentator
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Mar
12
answered media_handle_sideload() fails
Mar
12
asked media_handle_sideload() fails
Feb
19
awarded  Commentator
Aug
7
awarded  Notable Question
Jan
22
comment WP_Query with meta_value_num and meta_query not paged correctly
for sure, i have check all the output again and again, the limit and offset into the SQL Query are correct, but i'm not sure with the inner joins into the query (2 times into the query).
Jan
22
comment WP_Query with meta_value_num and meta_query not paged correctly
Nope, the same happends, if i put static posts_per_page = 10 into the query.
Jan
21
comment WP_Query with meta_value_num and meta_query not paged correctly
for sure, $limit = !empty($_GET['limit']) ? intval($_GET['limit']) : 10; and $page = !empty($_GET['site']) ? intval($_GET['site']) : 1;. This $_GET fires into on WP backend on a plugin page.
Jan
21
asked WP_Query with meta_value_num and meta_query not paged correctly
Aug
3
awarded  Student
Jun
29
answered Update own Plugin Repository on Multisite
Jun
26
asked Update own Plugin Repository on Multisite
May
23
awarded  Popular Question
Apr
19
answered Add post tag without post id
Apr
19
asked Add post tag without post id
Jan
26
asked Custom-Posttype & Custom Taxonomy WP_Query
Sep
8
comment In widget, the value of select field doesn't get updated, changes after saving
I don't know, why WP doing this, but sometimes the ->the_post() will not halt the globals for using into the script. Therefore i get the ID after the foreach() in this way: <?php $my_query = new WP_Query('post_type=my-post-type'); foreach($my_query as $mypost): $postid = (int)$mypost->ID; ?><option value="<?php echo $postid ?>"><?php get_the_title($postid); ?></option><?php endforeach; ?>
Sep
6
comment In widget, the value of select field doesn't get updated, changes after saving
Ok, use it in another way directly by the Query: `<?php foreach($the_query->posts as $post) : $postid = $post->ID; ?>...<?php endforeach; ?>
Sep
5
awarded  Tumbleweed
Sep
4
comment In widget, the value of select field doesn't get updated, changes after saving
Ok, go to control if the ID are coming: <?php while ( $the_query->have_posts() ) : $the_query->the_post(); echo get_the_ID(); ?> If the ID are printed, capsulate it into a variable and use this.
Sep
4
awarded  Teacher