Cartlann Curtha Leis Le déanaí An chuid is mó Thaitin Bhreathnaigh an chuid is An chuid is mó Dúirt add_action( 'réamh_get_posts', 'wpse_242473_add_post_type_to_home' ); feidhm wpse_242473_add_post_type_to_home( $query ) { más( $query-> is_main_query() && $query-> is_home() ) { $query-> set( 'post_type', eagar( 'postáil', 'físeán' , 'grianghraif') ); } }