Support

Account

Forum Replies Created

  • I actually solved this! I didn’t do it the way I thought it would be, but I got it to work the way I needed it to work.

    function workshop_dates( $where ) {
    	$where = str_replace("meta_key = 'workshop_details_%", "meta_key LIKE 'workshop_details_%", $where);
    	return $where;
    }
    add_filter('posts_where', 'workshop_dates');
    
    // vars
    $date_now = date('Y-m-d H:i:s');
    
    // args
    $args = array(
        'post_type' => 'page',
        //'posts_per_page' => 2,
        'meta_query'    => array(
    
            array(
                'key'		=> 'workshop_details',
                'compare'	=> '>',
                'value'		=> 0
            )
        )
    );

    I basically pulled all of the fields, and once I had them, I displayed the nested repeater fields.

Viewing 1 post (of 1 total)