Forum Replies Created

Viewing 2 Topics - 1 through 2 (of 2 total)
Author Posts
April 29, 2013 at 10:46 pm in reply to: List of Tasks by Assigned User 2994
Elitivia Elitivia

Thank you very much for the quick response. The code you sent didn’t work for me, but the following did;

global $post; $myposts = get_posts('numberposts=50&offset=0&post_type=task&meta_value=3'); foreach($myposts as $post) : setup_postdata($post); ?>
<li><a>ID ); ?>"><?php echo get_the_title( $task->ID ); ?></a></li>
<?php endforeach;
April 29, 2013 at 11:40 am in reply to: List of Tasks by Assigned User 2978
Elitivia Elitivia

Hi Tareq,

The full query is $query = new WP_Query( array( ‘numberposts’ => 8, ‘post_type’ => ‘task’, ‘meta_key’ => ‘_assigned’, ‘meta_value’ => ‘3’ ) ); and it doesn’t work. Am I missing something?

Thanks,

Claire

Viewing 2 Topics - 1 through 2 (of 2 total)