backup snippet code

This commit is contained in:
ulaulaman 2021-10-01 19:58:27 +02:00
parent 6883c85151
commit 3171713ff3
1 changed files with 39 additions and 2 deletions

View File

@ -67,6 +67,13 @@ add_action( 'wp_head', function () { ?>
.astroschede-template .herald-post-thumbnail-single { display:none; } .astroschede-template .herald-post-thumbnail-single { display:none; }
.astroschede-template #extras { 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-16929 .entry-title { display:none; }
.page-id-18718 .entry-title { display:none; } .page-id-18718 .entry-title { display:none; }
.page h1.entry-title { display:none; } .page h1.entry-title { display:none; }
@ -83,6 +90,23 @@ add_action( 'wp_head', function () { ?>
font-style: italic; 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 { #box {
margin: 15px; margin: 15px;
padding: 10px 25px 10px 25px; padding: 10px 25px 10px 25px;
@ -90,6 +114,19 @@ add_action( 'wp_head', function () { ?>
border: 1px solid #1d71b8; border: 1px solid #1d71b8;
} }
#dida {
padding: 20px;
text-align: center;
}
#didar {
float: right;
width: 45%;
padding: 20px;
text-align: center;
font-style: italic;
}
</style> </style>
<?php } ); <?php } );
@ -395,7 +432,7 @@ $custom_content .= '<p class="last-updated">Ultimo aggiornamento il '. $updated_
$custom_content .= $content; $custom_content .= $content;
if ( get_post_type() <> 'page' ){ if ( get_post_type() <> 'page' && get_post_type() <> 'oae_italia' ){
return $custom_content; return $custom_content;
} else { } else {
return $content; return $content;