Aggiunti al feed costellazioni e astrofoto. Tolte attività didattiche.

This commit is contained in:
ulaulaman 2020-07-28 09:23:08 +02:00
parent e0ae8ab901
commit b807983448
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
<?php
# manipolazione feed rss
# aggiunta delle attività didattiche
# aggiunta post personalizzati
function myfeed_request($qv) {
if (isset($qv['feed']) && !isset($qv['post_type']))
$qv['post_type'] = array('post', 'attivita_didattica');
$qv['post_type'] = array('post', 'costellazioni', 'astrofoto');
return $qv;
}
add_filter('request', 'myfeed_request');