Risposte nei forum create
-
AutorePost
-
DoppiaJPartecipante
Come al solito hai pubblicato e non hai letto le istruzioni.. mancano alcune informazioni… indovina quali? Studia e ripubblica le info mancanti…
Ciao! Scusami, ho dimenticato di dire una cosa fondamentale… disattivando tutti i plug in (in particolare quello di Facebook per i commenti) lo script è al posto giusto… Il problema sorge solo quando attivo tale plug in.
DoppiaJPartecipanteMah! Quanta presunzione… mi dispiace per te! Grazie per i consigli!
Ah dimenticavo… forse non sai che i forum servono a chiedere, e chi ne sa più di te ti aiuta rispondendo in modo gentile ed educato… io ho aperto il post ma non ti ho forzato a rispondere, se non volevi aiutarmi non entravi nella discussione.
DoppiaJPartecipanteEhm… scusa ma perchè ti scaldi cosଠtanto?
DoppiaJPartecipanteCiao, come mi hai fatto notare sbagliavo codice css… ora l’ho sistema e funziona alla perfezione!
per una sola categoria ho insertito questo codice… nel caso in cui le categorie fossero 2? come faccio?
<?php if (is_category()) :
global $cat;
if ($cat == '4') :
?>
<style type="text/css">
#container {
width: 1163px;
float: left;
padding: 56px 0px 0px 37px;
background: url(<?php bloginfo('template_directory'); ?>/images/calcio_bg.png) no-repeat !important;}
#content_text{
width: 999px;
float: left;
margin: 0px 0px 0px 0px;
background: url(images/calcio_top.jpg) top no-repeat !important;}
</style>
<?php
endif;
endif; ?>DoppiaJPartecipanteNon si vede nulla…
Quando entro nella categoria Pronostici (numero 4) non cambia nulla, anzi scompare lo sfondo dove c’è l’articolo scritto (non era quello che doveva cambiare)
Il codice che ho inserito è questo:
<?php if (is_category()) :
global $cat;
if ($cat == 4) :
?>
<style type="text/css">
#content {display: inline;
width: 999px;
float: left;
margin: 0px 0px 0px 57px;
background: url(images/calcio_bg.png) repeat-y;
padding-bottom:15px; !important;}
</style>
<?phpDoppiaJPartecipantehttp://www.wpitaly.it/forum/topic.php?id=44501
Quindi io dovrei utilizzare il tag
is_category( '9' )
Quando si visualizza una pagina di archivio per la Categoria 9.
Come scrivo il codice? Non ne capisco niente di php... saresti cosଠgentile da dirmi come fare?DoppiaJPartecipantewp head? wp footer? Jquery? assicurati che ci siano tutti i richiami. Il come lo trovi facilmente su Google, non è nulla di incomprensibile.
Grazie mille per il consiglio! Dopo un pò di sbattimento ci sono riuscito! Grazie infinite!
DoppiaJPartecipanteaddirittura formattare!!
DoppiaJPartecipanteProvato.. lo fa uguale
DoppiaJPartecipanteAdesso vi elenco gli addons che ho attivi:
ColorZilla
Download Statusbar
Megaupload SX3.2
Skype exstension for Firefox
Web Developer
Adesso provo a disattivarli uno alla volta e vi faccio sapere!
-
AutorePost