$args = array('post_type' => 'portfolio_posts', 'posts_per_page' => 4, 'paged' => $paged );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
$portfolio_type = get_post_meta(get_the_ID(), 'inception_portfolio_type', true);
$portfolio_video = get_post_meta(get_the_ID(), 'inception_portfolio_video', true);
$image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_image_src($image_id,'original');
$image_url = $image_url[0];
?>
bu kodda nasıl bir düzenleme yapmalıyım
$args = array('category' => 1, 'post_type' => 'portfolio_posts', 'posts_per_page' => 4, 'paged' => $paged );
bu kodu denedim.