diff --git a/backupsnippet/snippet.php b/backupsnippet/snippet.php index 619da8a..f5855cc 100644 --- a/backupsnippet/snippet.php +++ b/backupsnippet/snippet.php @@ -66,6 +66,13 @@ add_action( 'wp_head', function () { ?> .astroschede-template .herald-sidebar { display:none; } .astroschede-template .herald-post-thumbnail-single { display:none; } .astroschede-template #extras { display:none; } + + .teatro-inaf #extras { display:none; } + .teatro-inaf .herald-rtime { display:none; } + .teatro-inaf .meta-category { display:none; } + + .oae_italia .meta-category { display:none; } + .oae_italia #extras { display:none; } .page-id-16929 .entry-title { display:none; } .page-id-18718 .entry-title { display:none; } @@ -82,13 +89,43 @@ add_action( 'wp_head', function () { ?> quotes: "«" "»" "‘" "’"; font-style: italic; } - + + /* vecchio codice delle domande */ + #ask::before { + content: ""; + height: 30px; + width: 30px; + background: url(https://edu.inaf.it/wp-content/plugins/eduinaf/images/avatar_eduinaf_blu.png) no-repeat; + position: absolute; + margin-left: -35px; + background-size: 21px; + margin-top: 6px; + } + #ask { + padding-left: 35px; + font-weight: bold; + } + /* --- */ + #box { margin: 15px; padding: 10px 25px 10px 25px; background: #fafafa; border: 1px solid #1d71b8; } + + #dida { + padding: 20px; + text-align: center; + } + + #didar { + float: right; + width: 45%; + padding: 20px; + text-align: center; + font-style: italic; + } Ultimo aggiornamento il '. $updated_ $custom_content .= $content; - if ( get_post_type() <> 'page' ){ + if ( get_post_type() <> 'page' && get_post_type() <> 'oae_italia' ){ return $custom_content; } else { return $content;