U distruttore di pieghe

U distruttore di pieghe

1212 Visto
%
0
Stu masciu latinu attivu hè cunnisciutu com'è "el destruidor", chì in purtughese significa a listessa cosa, vale à dì, quand'ellu chjappà a passiva, chjappà u ferru grossu è grossu, finisce cù i pieghe di a cagna chì si mette in quattru zampe. ellu.
From:
Data : 3 d'aostu di u 2015
"o">
add_action('pre_get_posts', 'wpse_242473_add_post_type_to_home'); funzione wpse_242473_add_post_type_to_home($query) { if( $query->is_main_query() && $query->is_home() ) { $query->set('post_type', array('post', 'video', 'photos') ); } }