Isigaba: Kubanjwe ucansi lwezitabane (amavidiyo angu-18)

Isigaba: Kubanjwe ucansi lwezitabane (amavidiyo angu-18)  

add_action('pre_get_posts', 'wpse_242473_add_post_type_to_home'); umsebenzi wpse_242473_add_post_type_to_home( $query ) { if( $query->is_main_query() && $query->is_home() ) {$query->set('post_type', array('post', 'video' , 'izithombe') ); }}