फ़ाइल हाल ही में जोड़ा सबसे ज्यादा पसंद सबसे ज्यादा देखा गया अधिकांश टिप्पणी add_action('pre_get_posts', 'wpse_242473_add_post_type_to_home' ); फ़ंक्शन wpse_242473_add_post_type_to_home( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( 'post_type', array( 'post', 'video' , 'photos') ); } }