Clicca qui  Flyerwire
+ Rispondi alla discussione
Visualizzazione risultati 1 fino 8 di 8

Discussione: worpdress_problemi col template

  1. #1

    Predefinito worpdress_problemi col template

    Buongiorno ragazzi
    Vi disturbo ancora perchè, dopo un paio di notti insonni, con risultati non all'altezza dell'insonnia, ho deciso che non ce la faccio più a dormire così poco

    Dunque, sto modificando un template in wordpress, per il nuovo sito della mia squadra di calcio a 5. Ho modificato un bel pò di cose e fino ai colori, struttura e cose varie me la sono cavata con le mie conoscenze. Ma ora, ho due grandi problemi che mi attanagliano, che sono:

    -PROBLEMA 1: come si vede in immagine allegata, la pagina non si adatta automaticamente alla lunghezza della sidebar laterale, perciò nel caso di pagine più corte, la taglia. Cosa devo modificare per far si che la pagina si adatti?

    - PROBLEMA 2: ho dato, ovviamente, nel CSS colori diversi alle pagine attive e quelle non attive. Ma anche spostandomi su altre pagine, mi resta attiva sempre la home (come si vede in Immagine 2, dove la pagina mostrata è in realtà il "Chi Siamo". Dunque Home dovrebbe essere nero come il resto del menù, mentre chi siamo dovrebbe essere bianco)

    Che parte di codice devo eventualmente copiarvi per avere il vostro aiuto?
    Fatemi sapere

  2. #2
    Manager gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere gemedj89 è uno splendido da avere L'avatar di gemedj89
    Data registrazione
    20-08-2008
    Residenza
    Tra Montepulciano e localhost
    Messaggi
    9,440

    Predefinito

    Citazione Originalmente inviato da shreeek Visualizza messaggio
    Che parte di codice devo eventualmente copiarvi per avere il vostro aiuto?
    Fatemi sapere
    rimarrebbe più comodo avere il link al sito a meno che non sia in locale
    http://www.graficicreativi.com/signaturepics/sigpic2108_1.gif Consulenza informatica | Joomla Expert ->Sito joomla & Wordpress - Contatto via email

  3. #3

    Predefinito

    Non è in locale, ma diciamo che non lo rendo ancora visibile, visto che è appunto ancora in fase di lavorazione..
    Comunque, ora tolgo momentaneamente il mantenance mode...e lo trovi tra qualche secondo all'indirizzo A.S.D. Queens Foggia - Il Sito Ufficiale » ...Cooming Soon...

    Grazie geme


    PS: il problema della sidebar, lo dà per esempio nella pagina "Stagione 2006" sotto il menù Queens Story

  4. #4

    Predefinito

    Nessuna illuminazione ancora?

  5. #5
    GC Admin [Art Director, Social Media Manager, Teacher & Coach] Artlandis ha disabilitato la reputazione L'avatar di Artlandis
    Data registrazione
    29-11-2008
    Residenza
    Roma+Milano
    Messaggi
    7,435

    Predefinito

    Tanto per l'uno quanto per l'altro credo siano diverse le pagine da toccare....
    Prova a postare qui i codici componenti la pagina principale, header inclusa.....
    Artlandis' network:
    Artlandis online | Blog | Linkedin | Facebook | Twitter | Google+ | Klout | Behance Portfolio | Plastic Theory | Corsi di formazione & Webinar free
    "Quello che il bruco chiama fine del mondo, il resto del mondo chiama farfalla"

  6. #6

    Predefinito

    Ok, come suggerito da Artl, posto qui un pò di codici

    Dunque, questo è lo stylesheet css

    Codice HTML:
    /* begin Page */
    body
    {
    	margin: 0 auto;
    	padding: 0;
    	background-color: #FFD193;
    
    }
    
    #art-main
    {
    	position: relative;
    	width: 101%;
    	left: 0;
    	top: 0;
    height: auto;
    }
    
    #art-page-background-glare
    {
    	position: absolute;
    	width: 100%;
    	height: 119px;
    	left: 0;
    	top: 0;
    }
    
    #art-page-background-glare-image /* APPUNTO SK: trama di sfondo */
    {
    	background-image: url('images/Page-BgGlare.png');
    	background-repeat: no-repeat;
    	height: 100%;
    	width: 100%;
    	margin: 0;
    }
    
    html:first-child #art-page-background-glare
    {
    	border: 1px solid transparent; /* Opera fix */
    }
    
    
    
    
    #art-page-background-simple-gradient /* APPUNTO SK: colore di sfondo */
    {
    	position: absolute;
    	background-image: url('images/sumbody2bigA.gif');
    	background-repeat: repeat fixed;
    	top:0;
    	width: 100%;
    	height: 1600px;
    }
    
    .cleared
    {
    	float: none;
    	clear: both;
    	margin: 0;
    	padding: 0;
    	border: none;
    	font-size:1px;
    }
    
    
    form
    {
    	padding:0 !important;
    	margin:0 !important;
    }
    
    table.position
    {
    	position: relative;
    	width: 100%;
    	table-layout: fixed;
    }
    /* end Page */
    
    /* begin Box, Sheet */
    .art-Sheet
    {
    	position:relative;
    	z-index:0;
    	margin:0 auto;
    	width: 1015px;
    	min-width:59px;
    	min-height:600px;
    }
    
    .art-Sheet-body
    {
    	position: relative;
    	z-index: 1;
    	padding: 7px;
    }
    
    .art-Sheet-tr, .art-Sheet-tl, .art-Sheet-br, .art-Sheet-bl, .art-Sheet-tc, .art-Sheet-bc,.art-Sheet-cr, .art-Sheet-cl
    {
    	position:absolute;
    	z-index:-1;
    }
    
    .art-Sheet-tr, .art-Sheet-tl, .art-Sheet-br, .art-Sheet-bl
    {
    	width: 86px;
    	height: 86px;
    	background-image: url('images/Sheet-s.png');
    float: left;
    }
    
    .art-Sheet-tl
    {
    	top:0;
    	left:0;
    	clip: rect(auto, 43px, 43px, auto);
    }
    
    .art-Sheet-tr
    {
    	top: 0;
    	right: 0;
    	clip: rect(auto, auto, 43px, 43px);
    }
    
    .art-Sheet-bl
    {
    	bottom: 0;
    	left: 0;
    	clip: rect(43px, 43px, auto, auto);
    }
    
    .art-Sheet-br
    {
    	bottom: 0;
    	right: 0;
    	clip: rect(43px, auto, auto, 43px);
    }
    
    .art-Sheet-tc, .art-Sheet-bc
    {
    	left: 43px;
    	right: 43px;
    	height: 86px;
    	background-image: url('images/Sheet-h.png');
    }
    
    .art-Sheet-tc
    {
    	top: 0;
    	clip: rect(auto, auto, 43px, auto);
    }
    
    .art-Sheet-bc
    {
    	bottom: 0;
    	clip: rect(43px, auto, auto, auto);
    }
    
    .art-Sheet-cr, .art-Sheet-cl
    {
    	top: 43px;
    	bottom: 43px;
    	width: 86px;
    	background-image: url('images/Sheet-v.png');
    }
    
    .art-Sheet-cr
    {
    	right:0;
    	clip: rect(auto, auto, auto, 43px);
    }
    
    .art-Sheet-cl
    {
    	left:0;
    	clip: rect(auto, 43px, auto, auto);
    }
    
    .art-Sheet-cc
    {
    	position:absolute;
    	z-index:-1;
    	top: 43px;
    	left: 43px;
    	right: 43px;
    	bottom: 43px;
    	background-color: #0B0800;
    }
    
    
    .art-Sheet
    {
    	margin-top: 25px !important;
    }
    
    #art-page-background-simple-gradient, #art-page-background-gradient, #art-page-background-glare
    {
    	min-width:1000px;
    }
    
    /* end Box, Sheet */
    
    /* begin Header */
    div.art-Header
    {
           
    	margin: 0 auto ;
    	position: relative;
    	z-index:0;
    	width: 985px;
    	height: 225px;
    }
    
    div.art-Header-png
    {
    	position: absolute;
    	z-index:-2;
    	top: 0;
    	left: 0;
    	width: 986px;
    	height: 225px;
    	background-image: url('images/Header.png');
    	background-repeat: no-repeat;
    	background-position: left top;
    }
    
    div.art-Header-jpeg
    {
    	position: absolute;
    	z-index:-1;
    	top: 0;
    	left: 0;
    	width: 986px;
    	height: 225px;
    	background-image: url('images/Header.jpg');
    	background-repeat: no-repeat;
    	background-position: center center;
    }
    /* end Header */
    /* begin Menu */
    /* menu structure */
    
    .art-menu a, .art-menu a:link, .art-menu a:visited, .art-menu a:hover
    {	
    text-align:left;
    	text-decoration:none;
    	outline:none;
    	letter-spacing:normal;
    	word-spacing:normal;
    }
    
    .art-menu, .art-menu ul
    {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	list-style-type: none;
    	display: block;
    }
    
    .art-menu li
    {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	display: block;
    	float: left;
    	position: relative;
    	z-index: 5;
    	background:none;
    }
    
    .art-menu li:hover
    {
    	z-index: 10000;
    	white-space: normal;
    }
    
    .art-menu li li
    {
    	float: none;
    }
    
    .art-menu ul
    {
    	visibility: hidden;
    	position: absolute;
    	z-index: 10;
    	left: 0;
    	top: 0;
    	background:none;
    }
    
    .art-menu li:hover>ul
    {
    	visibility: visible;
    	top: 100%;
    }
    
    .art-menu li li:hover>ul
    {
    	top: 0;
    	left: 100%;
    }
    
    .art-menu:after, .art-menu ul:after
    {
    	content: ".";
    	height: 0;
    	display: block;
    	visibility: hidden;
    	overflow: hidden;
    	clear: both;
    }
    .art-menu, .art-menu ul
    {
    	min-height: 0;
    }
    
    .art-menu ul
    {
    	background-image: url(images/spacer.gif);
    	padding: 10px 30px 30px 30px;
    	margin: -10px 0 0 -30px;
    }
    
    .art-menu ul ul
    {
    	padding: 30px 30px 30px 10px;
    	margin: -30px 0 0 -10px;
    }
    
    
    
    
    
    /* menu structure */
    
    .art-menu
    {
    	padding: 6px 3px 0px 3px;
    }
    
    .art-nav
    {
    	position: relative;
    	height: 36px;
    	z-index: 100;
    }
    
    .art-nav .l, .art-nav .r
    {
    	position: absolute;
    	z-index: -1;
    	top: 0;
    	height: 36px;
    	background-image: url('images/nav.png');
    }
    
    .art-nav .l
    {
    	left: 0;
    	right:0px;
    }
    
    .art-nav .r
    {
    	right: 0;
    	width: 986px;
    	clip: rect(auto, auto, auto, 986px);
    }
    
    
    /* end Menu */
    
    /* begin MenuItem */
    .art-menu ul li
    {
    	clear: both;
    }
    
    .art-menu a
    {
    	position:relative;
    	display: block;
    	overflow:hidden;
    	height: 30px;
    	cursor: pointer;
    	text-decoration: none;
    	margin-right: 1px;
    	margin-left: 0px;
    }
    
    
    .art-menu a .r, .art-menu a .l
    {
    	position:absolute;
    	display: block;
    	top:0;
    	z-index:-1;
    	height: 90px;
    	background-image: url('images/MenuItem.png');
    }
    
    .art-menu a .l
    {
    	left:0;
    	right:7px;
    }
    
    .art-menu a .r
    {
    	width:414px;
    	right:0;
    	clip: rect(auto, auto, auto, 407px);
    }
    
    .art-menu a .t 
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 15px;
    	color: #FF7105;
    	padding: 0 6px;
    	margin: 0 7px;
    	line-height: 30px;
    	text-align: center;
    }
    
    .art-menu a:hover .l, .art-menu a:hover .r
    {
    	top:-30px;
    }
    
    .art-menu li:hover>a .l, .art-menu li:hover>a .r
    {
    	top:-30px;
    }
    
    .art-menu li:hover a .l, .art-menu li:hover a .r
    {
    	top:-30px;
    }
    .art-menu a:hover .t
    {
    	color: #000000;
    }
    
    .art-menu li:hover a .t
    {
    	color: #000000;
    }
    
    .art-menu li:hover>a .t
    {
    	color: #000000;
    }
    
    
    .art-menu a.active .l, .art-menu a.active .r
    {
    	top: -60px;
    }
    
    .art-menu a.active .t
    {
    	color: #FF7105;
    }
    
    
    /* end MenuItem */
    
    /* begin MenuSubItem */
    .art-menu ul a
    {
    	display:block;
    	text-align: center;
    	white-space: nowrap;
    	height: 20px;
    	width: 180px;
    	overflow:hidden;
    	line-height: 20px;
    	margin-right: auto;
    
    
    	background-image: url('images/subitem-bg.png');
    	background-position: left top;
    	background-repeat: repeat-x;
    	border-width: 0px;
    	border-style: solid;
    }
    
    .art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
    {
    	display: inline;
    	float: none;
    	margin: inherit;
    	padding: inherit;
    	background-image: none;
    	text-align: inherit;
    	text-decoration: inherit;
    }
    
    .art-menu ul a, .art-menu ul a:link, .art-menu ul a:visited, .art-menu ul a:hover, .art-menu ul a:active, .art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
    {
    	text-align: left;
    	text-indent: 12px;
    	text-decoration: none;
    	line-height: 20px;
    	color: #000000;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    }
    
    .art-menu ul ul a
    {
    	margin-left: auto;
    }
    
    .art-menu ul li a:hover
    {
    	color: #000000;
    	background-position: 0 -20px;
    }
    
    .art-menu ul li:hover>a
    {
    	color: #000000;
    	background-position: 0 -20px;
    }
    
    .art-nav .art-menu ul li a:hover span, .art-nav .art-menu ul li a:hover span span
    {
    	color: #000000;
    }
    
    .art-nav .art-menu ul li:hover>a span, .art-nav .art-menu ul li:hover>a span span
    {
    	color: #000000;
    }
    
    
    /* end MenuSubItem */
    
    /* begin ContentLayout */
    .art-contentLayout
    {
    	position: relative;
    	margin-bottom: 6px;
    	width: 986px;
    }
    /* end ContentLayout */
    
    
    /* begin Box, Block */
    .art-Block
    {
    	position:relative;
    	z-index:0;
    	margin:0 auto;
    	min-width:1px;
    	min-height:1px;
    }
    
    .art-Block-body
    {
    	position: relative;
    	z-index: 1;
    	padding: 0px;
    }
    
    
    
    .art-Block
    {
    	margin: 7px;
    }
    
    /* end Box, Block */
    
    /* begin BlockHeader */
    .art-BlockHeader
    {
    	position:relative;
    	z-index:0;
    	height: 30px;
    	padding: 0 7px;
    	margin-bottom: 0px;
    }
    
    .art-BlockHeader .t
    {
    	height: 30px;
    	color: #F9A124;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
    margin-top: 2px;
    	white-space : nowrap;
    	padding: 0 10px;
    	line-height: 30px;	
    }
    
    .art-BlockHeader .l, .art-BlockHeader .r
    {
    	display:block;
    	position:absolute;
    	z-index:-1;
    	height: 30px;
    	background-image: url('images/BlockHeader.png');
    }
    
    .art-BlockHeader .l
    {
    	left:0;
    	right:10px;
    }
    
    .art-BlockHeader .r
    { 
    	width:986px;
    	right:0;
    	clip: rect(auto, auto, auto, 976px);
    }
    
    
    
    
    
    .art-header-tag-icon
    {
        height: 30px;
    	background-position:left top;
    	background-image: url('images/BlockHeaderIcon.png');
    	padding:0 0 0 26px;
    	background-repeat: no-repeat;
    	min-height: 31px;
    	margin: 0 0 0 5px;
    }
    
    
    /* end BlockHeader */
    
    /* begin Box, BlockContent */
    .art-BlockContent
    {
    	position:relative;
    	z-index:0;
    	margin:0 auto;
    	min-width:23px;
    	min-height:23px;
    }
    
    .art-BlockContent-body
    {
    	position: relative;
    	z-index: 1;
    	padding: 9px;
    }
    
    .art-BlockContent-tr, .art-BlockContent-tl, .art-BlockContent-br, .art-BlockContent-bl, .art-BlockContent-tc, .art-BlockContent-bc,.art-BlockContent-cr, .art-BlockContent-cl
    {
    	position:absolute;
    	z-index:-1;
    }
    
    .art-BlockContent-tr, .art-BlockContent-tl, .art-BlockContent-br, .art-BlockContent-bl
    {
    	width: 22px;
    	height: 22px;
    	background-image: url('images/BlockContent-s.png');
    }
    
    .art-BlockContent-tl
    {
    	top:0;
    	left:0;
    	clip: rect(auto, 11px, 11px, auto);
    }
    
    .art-BlockContent-tr
    {
    	top: 0;
    	right: 0;
    	clip: rect(auto, auto, 11px, 11px);
    }
    
    .art-BlockContent-bl
    {
    	bottom: 0;
    	left: 0;
    	clip: rect(11px, 11px, auto, auto);
    }
    
    .art-BlockContent-br
    {
    	bottom: 0;
    	right: 0;
    	clip: rect(11px, auto, auto, 11px);
    }
    
    .art-BlockContent-tc, .art-BlockContent-bc
    {
    	left: 11px;
    	right: 11px;
    	height: 22px;
    	background-image: url('images/BlockContent-h.png');
    }
    
    .art-BlockContent-tc
    {
    	top: 0;
    	clip: rect(auto, auto, 11px, auto);
    }
    
    .art-BlockContent-bc
    {
    	bottom: 0;
    	clip: rect(11px, auto, auto, auto);
    }
    
    .art-BlockContent-cr, .art-BlockContent-cl
    {
    	top: 11px;
    	bottom: 11px;
    	width: 22px;
    	background-image: url('images/BlockContent-v.png');
    }
    
    .art-BlockContent-cr
    {
    	right:0;
    	clip: rect(auto, auto, auto, 11px);
    }
    
    .art-BlockContent-cl
    {
    	left:0;
    	clip: rect(auto, 11px, auto, auto);
    }
    
    .art-BlockContent-cc
    {
    	position:absolute;
    	z-index:-1;
    	top: 11px;
    	left: 11px;
    	right: 11px;
    	bottom: 11px;
    	background-color: #FFFFFF;
    }
    
    
    .art-BlockContent-body
    {
    	color:#522300;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    }
    
    .art-BlockContent-body a:link
    {
    	color: #FA0021;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
    }
    
    .art-BlockContent-body a:visited, .art-BlockContent-body a.visited
    {
    	color: #8E108E;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
    }
    
    .art-BlockContent-body a:hover, .art-BlockContent-body a.hover
    {
    	color: #C60198;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: none;
    }
    
    .art-BlockContent-body ul
    {
    	list-style-type: none;
    	color: #803700;
    	margin:0;
    	padding:0;
    }
    
    .art-BlockContent-body ul li
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    text-decoration: none;
    line-height: 125%;
      line-height: 1.25em;
      padding: 0px 0 0px 26px;
      background-image: url('images/BlockContentBullets.png');
      background-repeat: no-repeat;
    }
    
    /* end Box, BlockContent */
    
    /* begin Box, Post */
    .art-Post
    {
    	position:relative;
    	z-index:0;
    	margin:0 auto;
    	min-width:21px;
    	min-height:21px;
    }
    
    .art-Post-body
    {
    	position: relative;
    	z-index: 1;
    	padding: 21px;
    }
    
    .art-Post-tr, .art-Post-tl, .art-Post-br, .art-Post-bl, .art-Post-tc, .art-Post-bc,.art-Post-cr, .art-Post-cl
    {
    	position:absolute;
    	z-index:-1;
    }
    
    .art-Post-tr, .art-Post-tl, .art-Post-br, .art-Post-bl
    {
    	width: 32px;
    	height: 32px;
    	background-image: url('images/Post-s.png');
    }
    
    .art-Post-tl
    {
    	top:0;
    	left:0;
    	clip: rect(auto, 16px, 16px, auto);
    }
    
    .art-Post-tr
    {
    	top: 0;
    	right: 0;
    	clip: rect(auto, auto, 16px, 16px);
    }
    
    .art-Post-bl
    {
    	bottom: 0;
    	left: 0;
    	clip: rect(16px, 16px, auto, auto);
    }
    
    .art-Post-br
    {
    	bottom: 0;
    	right: 0;
    	clip: rect(16px, auto, auto, 16px);
    }
    
    .art-Post-tc, .art-Post-bc
    {
    	left: 16px;
    	right: 16px;
    	height: 32px;
    	background-image: url('images/Post-h.png');
    }
    
    .art-Post-tc
    {
    	top: 0;
    	clip: rect(auto, auto, 16px, auto);
    }
    
    .art-Post-bc
    {
    	bottom: 0;
    	clip: rect(16px, auto, auto, auto);
    }
    
    .art-Post-cr, .art-Post-cl
    {
    	top: 16px;
    	bottom: 16px;
    	width: 32px;
    	background-image: url('images/Post-v.png');
    }
    
    .art-Post-cr
    {
    	right:0;
    	clip: rect(auto, auto, auto, 16px);
    }
    
    .art-Post-cl
    {
    	left:0;
    	clip: rect(auto, 16px, auto, auto);
    }
    
    .art-Post-cc
    {
    	position:absolute;
    	z-index:-1;
    	top: 16px;
    	left: 16px;
    	right: 16px;
    	bottom: 16px;
    	background-color: #FFFFFF;
    }
    
    
    .art-Post
    {
    	margin: 10px;
    }
    
    /* Start images */
    a img
    {
    	border: 0;
    }
    
    .art-article img, img.art-article
    {
    	margin: 1em;
    }
    
    .art-metadata-icons img
    {
    	border: none;
    	vertical-align: middle;
    	margin: 2px;
    }
    /* Finish images */
    
    /* Start tables */
    
    .art-article table, table.art-article
    {
    	border-collapse: collapse;
    	margin: 1px;
    	width:auto;
    }
    
    .art-article table, table.art-article .art-article tr, .art-article th, .art-article td
    {
    	background-color:Transparent;
    }
    
    .art-article th, .art-article td
    {
    	padding: 2px;
    	border: solid 1px #FF770F;
    	vertical-align: center;
    	text-align:center;
    }
    
    .art-article th
    {
    	text-align: center;
    	vertical-align: middle;
    	padding: 7px;
    }
    
    /* Finish tables */
    
    pre
    {
    	overflow: auto;
    	padding: 0.1em;
    }
    
    /* end Box, Post */
    
    /* begin PostMetadata APPUNTO SK: sfondo titolo dell'articolo*/ 
    .art-PostMetadataHeader
    {
    	padding:0px;
    	background-image: url('images/BlockHeaderSk2.png');
    }
    /* end PostMetadata */
    
    /* begin PostHeaderIcon */
    .art-PostHeader
    {
    	text-decoration:none;
    	margin: 0.2em 0;
    	padding: 0;
    	font-weight:normal;
    	font-style:normal;
    	letter-spacing:normal;
    	word-spacing:normal;
    	font-variant:normal;
    	text-decoration:none;
    	font-variant:normal;
    	text-transform:none;
    	text-align:left;
    	text-indent:0;
    	line-height:inherit;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
    	color: #FFFFFF;
    }
    
    .art-PostHeader a, .art-PostHeader a:link, .art-PostHeader a:visited, .art-PostHeader a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
    	margin:0;
    	color: #FFFFFF;
    }
    
    .art-PostHeader img
    {
    	border:none;
    	vertical-align: middle;
    	margin:0;
    }
    /* end PostHeaderIcon */
    
    /* begin PostHeader */
    .art-PostHeader a:link
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 20px;
    text-decoration: none;
    text-align: left;
      color: #FFFFFF;
    }
    
    .art-PostHeader a:visited, .art-PostHeader a.visited
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 20px;
    text-decoration: none;
    text-align: left;
      color: #FFFFFF;
    }
    
    .art-PostHeader a:hover, .art-PostHeader a.hovered
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 20px;
    text-decoration: none;
    text-align: left;
      color: #FFFFFF;
    }
    /* end PostHeader */
    
    /* begin PostIcons */
    .art-PostHeaderIcons
    {
    	padding:1px;
    }
    
    .art-PostHeaderIcons, .art-PostHeaderIcons a, .art-PostHeaderIcons a:link, .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    	color: #803700;
    }
    
    .art-PostHeaderIcons a, .art-PostHeaderIcons a:link, .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a:hover
    {
    	margin:0;
    }
    
    .art-PostHeaderIcons a:link
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
    	color: #82306E;
    }
    
    .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a.visited
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
    	color: #82306E;
    }
    
    .art-PostHeaderIcons a:hover, .art-PostHeaderIcons a.hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: none;
    	color: #B24D00;
    }
    /* end PostIcons */
    
    /* begin PostContent */
    /* Content Text Font & Color (Default) */
    body
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
      color: #000000;
    }
    
    
    .art-PostContent p 
    {
    	margin: 0.5em 0;
    }
    
    .art-PostContent, .art-PostContent p
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 13px;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0px;
    text-align: justify;
    text-indent: 9px;
    margin-left: 0px;
      color: #000000;
    }
    
    .art-PostContent
    {
      margin:0;
    }
    
    
    /* Start Content link style */
    /*
    The right order of link pseudo-classes: Link-Visited-Hover-Focus-Active.
    http://www.w3schools.com/CSS/css_pseudo_classes.asp
    http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states/
    */
    a
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
      color: #FA0021;
    }
    
    /* Adds special style to an unvisited link. */
    a:link
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: none;
      color: #FA0021;
    }
    
    /* Adds special style to a visited link. */
    a:visited, a.visited
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: none;
      color: #8E108E;
    }
    
    /* :hover - adds special style to an element when you mouse over it. */
    a:hover, a.hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: none;
      color: #C60198;
    }
    
    /* Finish Content link style */
    
    /* Resert some headings default style & links default style for links in headings*/
    h1, h2, h3, h4, h5, h6,
    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
    h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
    h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
    {
      font-weight: normal;
      font-style: normal;
      text-decoration: none;
    }
    
    
    /* Start Content headings Fonts & Colors  */
    h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 28px;
    font-style: normal;
    font-weight: bold;
    text-align: justify;
      color: #FF6277;
    }
    
    h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 22px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
      color: #8D3477;
    }
    
    h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 18px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
      color: #B24D00;
    }
    
    h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
    {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
      color: #522300;
    }
    
    h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
      color: #522300;
    }
    
    h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover
    {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    text-align: left;
      color: #522300;
    }
    /* Finish Content headings Fonts & Colors  */
    /* end PostContent */
    
    /* begin PostBullets */
    /* Start Content list */
    ol, ul
    {
    	color: #000000;
    	margin:1em 0 1em 2em;
    	padding:0;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    }
    
    li ol, li ul
    {
    	margin:0.5em 0 0.5em 2em;
    	padding:0;
    }
    
    li 
    {
    	margin:0.2em 0;
    	padding:0;
    }
    
    ul
    {
    	list-style-type: none;
    }
    
    ol
    {
    	list-style-position:inside;
    	
    }
    
    
    
    .art-Post li
    {
    	padding:0px 0 0px 12px;
    	line-height:1.2em;
    }
    
    .art-Post ol li, .art-Post ul ol li
    {
    	background: none;
    	padding-left:0;
    }
    
    .art-Post ul li, .art-Post ol ul li 
    {
    	background-image: url('images/PostBullets.png');
    	background-repeat:no-repeat;
    	padding-left:12px;
    }
    
    
    /* Finish Content list */
    /* end PostBullets */
    
    /* begin PostQuote */
    /* Start blockquote */
    blockquote,
    blockquote p,
    .art-PostContent blockquote p
    {
    	color:#1F1B00;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-style: italic;
    font-weight: normal;
    text-align: justify;
    }
    
    blockquote,
    .art-PostContent blockquote
    {
    		margin:10px 10px 10px 50px;
    	padding:5px 5px 5px 37px;
    	background-color:#FFF5B3;
    	background-image:url('images/PostQuote.png');
    	background-position:left top;
    	background-repeat:no-repeat;
    }
    
    
    /* Finish blockuote */
    /* end PostQuote */
    
    /* begin Button */
    .art-button-wrapper .art-button
    {
    	display:inline-block;
    	width: auto;
    	outline:none;
    	border:none;
    	background:none;
    	line-height:28px;
    	margin:0 !important;
    	padding:0 !important;
    	overflow: visible;
    	cursor: default;
    	text-decoration: none !important;
    	z-index:0;
    	vertical-align: middle;
    }
    
    .art-button img, .art-button-wrapper img
    {
      margin: 0;
    }
    
    .art-button-wrapper
    {
    	display:inline-block;
    	vertical-align: middle;
    	position:relative;
    	height: 28px;
    	overflow:hidden;
    	white-space: nowrap;
    	width: auto;
    	z-index:0;
    }
    
    .firefox2 .art-button-wrapper
    {
    	display:block;
    	float:left;
    }
    
    .art-button-wrapper .art-button
    {
    	display:block;
    	height: 28px;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    	white-space: nowrap;
    	text-align: left;
    	padding: 0 11px !important;
    	line-height: 28px;
    	text-decoration: none !important;
    	color: #000000 !important;
    }
    
    input, select
    {
      vertical-align: middle;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    }
    
    .art-button-wrapper.hover .art-button, .art-button:hover
    {
    	color: #5C5000 !important;
    	text-decoration: none !important;
    }
    
    .art-button-wrapper.active .art-button
    {
    	color: #FFF3EB !important;
    }
    
    .art-button-wrapper .l, .art-button-wrapper .r
    {
    	display:block;
    	position:absolute;
    	z-index:-1;
    	height: 84px;
    	background-image: url('images/Button.png');
    }
    
    .art-button-wrapper .l
    {
    	left:0;
    	right:7px;
    }
    
    .art-button-wrapper .r
    {
    	width:407px;
    	right:0;
    	clip: rect(auto, auto, auto, 400px);
    }
    
    .art-button-wrapper.hover .l, .art-button-wrapper.hover .r
    {
    	top: -28px;
    }
    
    .art-button-wrapper.active .l, .art-button-wrapper.active .r
    {
    	top: -56px;
    }
    
    
    /* end Button */
    
    /* begin Footer */
    .art-Footer
    {
    	position:relative;
    	z-index:0;
    	overflow:hidden;
    	width: 986px;
    	margin: 0 auto 0px auto;
    }
    
    .art-Footer .art-Footer-inner
    {
    	height:auto;
    	position: relative;
    	z-index: 0;
    	padding: 0px;
    	text-align: center;
    }
    
    .art-Footer .art-Footer-background
    {
    	position:absolute;
    	z-index:-1;
    	background-repeat:no-repeat;
    	background-image: url('images/Footer.png');
    	width: 986px;
    	height: 150px;
    	bottom:0;
    	left:0;
    }
    
    
    .art-Footer .art-Footer-text p
    {
    	margin: 0;
    }
    
    .art-Footer .art-Footer-text
    {
    	display:inline-block;
    	color:#FFFFFF;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 9px;
    }
    
    .art-Footer .art-Footer-text a:link
    {
    	text-decoration: none;
    	color: #FFFFFF;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
    }
    
    .art-Footer .art-Footer-text a:visited
    {
    	text-decoration: none;
    	color: #000000;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: underline;
    }
    
    .art-Footer .art-Footer-text a:hover
    {
    	text-decoration: none;
    	color: #FFFFFF;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    text-decoration: none;
    }
    /* end Footer */
    
    /* begin PageFooter */
    .art-page-footer, .art-page-footer a, .art-page-footer a:link, .art-page-footer a:visited, .art-page-footer a:hover
    {
    	font-family:Arial;
    	font-size:10px;
    	letter-spacing:normal;
    	word-spacing:normal;
    	font-style:normal;
    	font-weight:normal;
    	text-decoration:underline;
    	color:#95377D;
    }
    
    .art-page-footer
    {
    	margin:1em;
    	text-align:center;
    	text-decoration:none;
    	color:#FF9747;
    }
    /* end PageFooter */
    
    /* begin LayoutCell */
    .art-contentLayout .art-content
    {
    	position: relative;
    	margin: 0;
    	padding: 0;
    	border: 0;
    	float: left;
    	overflow: hidden;
    	width: 788px;
    height: auto;
    }
    .art-contentLayout .art-content-wide
    {
    	position: relative;
    	margin: 0;
    	padding: 0;
    	border: 0;
    	float: left;
    	overflow: hidden;
    	width: 985px;
    height= auto;
    }
    /* end LayoutCell */
    
    /* begin LayoutCell */
    .art-contentLayout .art-sidebar1
    {
    	position: absolute;
    	margin: 0;
    	padding: 0;
    	border: 0;
    	float: right;
    left: 785px;
    top: 10px;
    	overflow: hidden;
    	width: 210px;
    z-index:7;
    }
    /* end LayoutCell */
    
    
    
    .commentlist, .commentlist li
    {
    	background: none;
    }
    
    .commentlist li li
    {
    	margin-left:30px;
    }
    
    .commentlist li .avatar
    {
    	float: right;
    	border: 1px solid #eee;
    	padding: 2px;
    	margin:1px;
    	background: #fff;
    }
    
    .commentlist li cite
    {
    	font-size:1.2em;
    }
    
    #commentform textarea
    {
    	width: 100%;
    }
    
    img.wp-smiley
    {
    	border:none;
    	margin:0;
    	padding:0;
    }
    
    .navigation
    {
    	display: block;
    	text-align: center;
    }
    
    /* Recommended by http://codex.wordpress.org/CSS */
    /* Begin */
    .aligncenter, div.aligncenter, .art-article .aligncenter img, .aligncenter img.art-article, .aligncenter img, img.aligncenter
    {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    
    .alignleft
    {
    	float: left;
    }
    
    .alignright
    {
    	float: right;
    }
    
    .alignright img, img.alignright
    {
    	margin: 1em;
    	margin-right: 0;
    }
    
    .alignleft img, img.alignleft
    {
    	margin: 1em;
    	margin-left: 0;
    }
    
    .wp-caption
    {
    	border: 1px solid #ddd;
    	text-align: center;
    	background-color: #f3f3f3;
    	padding-top: 4px;
    	margin: 10px;
    }
    
    .wp-caption img
    {
    	margin: 0;
    	padding: 0;
    	border: 0 none;
    }
    
    .wp-caption p.wp-caption-text
    {
    	font-size: 11px;
    	line-height: 17px;
    	padding: 0 4px 5px;
    	margin: 0;
    }
    /* End */
    
    
    .hidden
    {
    	display: none;
    }
    
    /* Calendar */
    #wp-calendar {
    	empty-cells: show;
    	margin: 10px auto 0;
    	width: 155px;
    }
    
    #wp-calendar #next a {
    	padding-right: 10px;
    	text-align: right;
    }
    
    #wp-calendar #prev a {
    	padding-left: 10px;
    	text-align: left;
    }
    
    #wp-calendar a {
    	display: block;
    }
    
    #wp-calendar caption {
    	text-align: center;
    	width: 100%;
    }
    
    #wp-calendar td {
    	padding: 3px 0;
    	text-align: center;
    }
    
    .gallery {
        letter-spacing: normal;
    }
    
    #todays-events{
      position: relative;
      z-index: 11;    
    }
    
    #upcoming-events{
      position: relative;
      z-index: 10;    
    }
    Il theme function

    Codice HTML:
    <?php
    
    $artThemeSettings = array(
    	'menu.showSubmenus' => true,
    	'menu.homeCaption' => "Home",
    	'menu.showHome' => true,
    	'menu.topItemBegin' => "<span class=\"l\"></span><span class=\"r\"></span><span class=\"t\">",
    	'menu.topItemEnd' => "</span>"
    );
    
    load_theme_textdomain('kubrick');
    
    $themename = "templateQueens";
    $shortname = "EsseKappa";
    $default_footer_content = "<a href='mailto:info@queensfoggia.net'>Contattaci</a> | <a href='http://www.facebook.com/profile.php?id=791396589&v=wall#!/pages/Foggia-Italy/Queens-Foggia/32261151667?ref=ts&__a=73&ajaxpipe=1'>Seguici su Facebook!</a> | <a href='http://www.youtube.com/user/queensfoggia'>Youtube</a> | <br />Copyright &copy; 2010 ".get_bloginfo('name').". All Rights Reserved.";
    $options = array (
                    array(  "name" => "HTML",
                            "desc" => sprintf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'kubrick'), 'a, abbr, acronym, em, b, i, strike, strong, span'),
                            "id" => "art_footer_content",
                            "std" => $default_footer_content,
                            "type" => "textarea")
              );
           
    	
    function art_update_option($key, $value){
    	update_option($key, (get_magic_quotes_gpc()) ? stripslashes($value) : $value);
    }
    
    function art_add_admin() {
    
    
    
        global $themename, $shortname, $options;
    
        if ( $_GET['page'] == basename(__FILE__) ) {
       
            if ('save' == $_REQUEST['action'] ) {
    
                    foreach ($options as $value) {
                        if($value['type'] != 'multicheck'){
                            art_update_option( $value['id'], $_REQUEST[ $value['id'] ] );
                        }else{
                            foreach($value['options'] as $mc_key => $mc_value){
                                $up_opt = $value['id'].'_'.$mc_key;
                                art_update_option($up_opt, $_REQUEST[$up_opt] );
                            }
                        }
                    }
                    foreach ($options as $value) {
                        if($value['type'] != 'multicheck'){
                            if( isset( $_REQUEST[ $value['id'] ] ) ) { art_update_option( $value['id'], $_REQUEST[ $value['id'] ]  ); } else { delete_option( $value['id'] ); }
                        }else{
                            foreach($value['options'] as $mc_key => $mc_value){
                                $up_opt = $value['id'].'_'.$mc_key;
                                if( isset( $_REQUEST[ $up_opt ] ) ) { art_update_option( $up_opt, $_REQUEST[ $up_opt ]  ); } else { delete_option( $up_opt ); }
                            }
                        }
                    }
                    header("Location: themes.php?page=functions.php&saved=true");
                    die;
            } 
        }
    
        add_theme_page("Footer", "Footer", 'edit_themes', basename(__FILE__), 'art_admin');
    
    }
    
    function art_admin() {
        global $themename, $shortname, $options;
        if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>';
    ?>
    <div class="wrap">
    	<h2>Footer</h2>
    
    	<form method="post">
    
    		<table class="optiontable" style="width:100%;">
    
    <?php foreach ($options as $value) {
       
        switch ( $value['type'] ) {
            case 'text':
            option_wrapper_header($value);
            ?>
                    <input style="width:100%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?>" />
            <?php
            option_wrapper_footer($value);
            break;
           
            case 'select':
            option_wrapper_header($value);
            ?>
                    <select style="width:70%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
                        <?php foreach ($value['options'] as $option) { ?>
                        <option<?php if ( get_settings( $value['id'] ) == $option) { echo ' selected="selected"'; } elseif ($option == $value['std']) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option>
                        <?php } ?>
                    </select>
            <?php
            option_wrapper_footer($value);
            break;
           
            case 'textarea':
            $ta_options = $value['options'];
            option_wrapper_header($value);
            ?>
                    <textarea name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" style="width:100%;height:100px;"><?php
                    if( get_settings($value['id']) !== false) {
                            echo get_settings($value['id']);
                        }else{
                            echo $value['std'];
                    }?></textarea>
            <?php
            option_wrapper_footer($value);
            break;
    
            case "radio":
            option_wrapper_header($value);
           
            foreach ($value['options'] as $key=>$option) {
                    $radio_setting = get_settings($value['id']);
                    if($radio_setting != ''){
                        if ($key == get_settings($value['id']) ) {
                            $checked = "checked=\"checked\"";
                            } else {
                                $checked = "";
                            }
                    }else{
                        if($key == $value['std']){
                            $checked = "checked=\"checked\"";
                        }else{
                            $checked = "";
                        }
                    }?>
                    <input type="radio" name="<?php echo $value['id']; ?>" value="<?php echo $key; ?>" <?php echo $checked; ?> /><?php echo $option; ?><br />
            <?php
            }
            
            option_wrapper_footer($value);
            break;
           
            case "checkbox":
            option_wrapper_header($value);
                            if(get_settings($value['id'])){
                                $checked = "checked=\"checked\"";
                            }else{
                                $checked = "";
                            }
                        ?>
                        <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> />
            <?php
            option_wrapper_footer($value);
            break;
    
            case "multicheck":
            option_wrapper_header($value);
           
            foreach ($value['options'] as $key=>$option) {
                     $pn_key = $value['id'] . '_' . $key;
                    $checkbox_setting = get_settings($pn_key);
                    if($checkbox_setting != ''){
                        if (get_settings($pn_key) ) {
                            $checked = "checked=\"checked\"";
                            } else {
                                $checked = "";
                            }
                    }else{
                        if($key == $value['std']){
                            $checked = "checked=\"checked\"";
                        }else{
                            $checked = "";
                        }
                    }?>
                    <input type="checkbox" name="<?php echo $pn_key; ?>" id="<?php echo $pn_key; ?>" value="true" <?php echo $checked; ?> /><label for="<?php echo $pn_key; ?>"><?php echo $option; ?></label><br />
            <?php
            }
            
            option_wrapper_footer($value);
            break;
           
            case "heading":
            ?>
            <tr valign="top">
                <td colspan="2" style="text-align: center;"><h3><?php echo $value['name']; ?></h3></td>
            </tr>
            <?php
            break;
           
            default:
    
            break;
        }
    }
    ?>
    
    		</table>
    
    		<p class="submit">
    			<input name="save" type="submit" value="Save changes" />
    			<input type="hidden" name="action" value="save" />
    		</p>
    	</form>
    </div>
    <?php
    }
    
    function option_wrapper_header($values){
        ?>
        <tr valign="top">
            <th scope="row" style="width:1%;white-space: nowrap;"><?php echo $values['name']; ?>:</th>
            <td>
        <?php
    }
    
    function option_wrapper_footer($values){
        ?>
            </td>
        </tr>
        <tr valign="top">
            <td>&nbsp;</td><td><small><?php echo $values['desc']; ?></small></td>
        </tr>
        <?php
    }
    
    
    add_action('admin_menu', 'art_add_admin'); 
    
    if (!function_exists('get_search_form')) {
    	function get_search_form()
    	{
    		include (TEMPLATEPATH . "/searchform.php");
    	}
    }
    
    if (!function_exists('get_previous_posts_link')) {
    	function get_previous_posts_link($label)
    	{
    		ob_start();
    		previous_posts_link($label);
    		return ob_get_clean();
    	}
    }
    
    if (!function_exists('get_next_posts_link')) {
    	function get_next_posts_link($label)
    	{
    		ob_start();
    		next_posts_link($label);
    		return ob_get_clean();
    	}
    }
    
    if (!function_exists('get_previous_post_link')) {
    	function get_previous_post_link($label)
    	{
    		ob_start();
    		previous_post_link($label);
    		return ob_get_clean();
    	}
    }
    
    if (!function_exists('get_next_post_link')) {
    	function get_next_post_link($label)
    	{
    		ob_start();
    		next_post_link($label);
    		return ob_get_clean();
    	}
    }
    
    function art_comment($comment, $args, $depth)
    {
    	 $GLOBALS['comment'] = $comment; ?>
       <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
         <div id="comment-<?php comment_ID(); ?>">
    <div class="art-Post">
             <div class="art-Post-tl"></div>
             <div class="art-Post-tr"></div>
             <div class="art-Post-bl"></div>
             <div class="art-Post-br"></div>
             <div class="art-Post-tc"></div>
             <div class="art-Post-bc"></div>
             <div class="art-Post-cl"></div>
             <div class="art-Post-cr"></div>
             <div class="art-Post-cc"></div>
             <div class="art-Post-body">
         <div class="art-Post-inner art-article">
         
    <div class="art-PostContent">
         
          <div class="comment-author vcard">
             <?php echo get_avatar($comment,$size='48',$default='<path_to_url>' ); ?>
             <cite class="fn"><?php comment_author_link(); ?>:</cite>
          </div>
          <?php if ($comment->comment_approved == '0') : ?>
             <em><?php _e('Your comment is awaiting moderation.') ?></em>
             <br />
          <?php endif; ?>
    
          <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link('('.__('Edit', 'kubrick').')','  ','') ?></div>
    
          <?php comment_text() ?>
    
          <div class="reply">
             <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
          </div>
    
          </div>
          <div class="cleared"></div>
          
    
          </div>
          
          		<div class="cleared"></div>
              </div>
          </div>
          
         </div>
    <?php
    }
    
    
    if (function_exists('register_sidebars')) {
    	register_sidebars(1, array(
    		'before_widget' => '<div id="%1$s" class="widget %2$s">'.'<!--- BEGIN Widget --->',
    		'before_title' => '<!--- BEGIN WidgetTitle --->',
    		'after_title' => '<!--- END WidgetTitle --->',
    		'after_widget' => '<!--- END Widget --->'.'</div>'
    	));
    }
    
    function art_normalize_widget_style_tokens($content) {
    	$bw = '<!--- BEGIN Widget --->';
    	$bwt = '<!--- BEGIN WidgetTitle --->';
    	$ewt = '<!--- END WidgetTitle --->';
    	$bwc = '<!--- BEGIN WidgetContent --->';
    	$ewc = '<!--- END WidgetContent --->';
    	$ew = '<!--- END Widget --->';
    	$result = '';
    	$startBlock = 0;
    	$endBlock = 0;
    	while (true) {
    		$startBlock = strpos($content, $bw, $endBlock);
    		if (false === $startBlock) {
    			$result .= substr($content, $endBlock);
    			break;
    		}
    		$result .= substr($content, $endBlock, $startBlock - $endBlock);
    		$endBlock = strpos($content, $ew, $startBlock);
    		if (false === $endBlock) {
    			$result .= substr($content, $endBlock);
    			break;
    		}
    		$endBlock += strlen($ew);
    		$widgetContent = substr($content, $startBlock, $endBlock - $startBlock);
    		$beginTitlePos = strpos($widgetContent, $bwt);
    		$endTitlePos = strpos($widgetContent, $ewt);
    		if ((false == $beginTitlePos) xor (false == $endTitlePos)) {
    			$widgetContent = str_replace($bwt, '', $widgetContent);
    			$widgetContent = str_replace($ewt, '', $widgetContent);
    		} else {
    			$beginTitleText = $beginTitlePos + strlen($bwt);
    			$titleContent = substr($widgetContent, $beginTitleText, $endTitlePos - $beginTitleText);
    			if ('&nbsp;' == $titleContent) {
    				$widgetContent = substr($widgetContent, 0, $beginTitlePos)
    					. substr($widgetContent, $endTitlePos + strlen($ewt));
    			}
    		}
    		if (false === strpos($widgetContent, $bwt)) {
    			$widgetContent = str_replace($bw, $bw . $bwc, $widgetContent);
    		} else {
    			$widgetContent = str_replace($ewt, $ewt . $bwc, $widgetContent);
    		}
    		$result .= str_replace($ew, $ewc . $ew, $widgetContent);
    	}
    	return $result;
    }
    
    function art_sidebar($index = 1)
    {
    	if (!function_exists('dynamic_sidebar')) return false;
    	ob_start();
    	$success = dynamic_sidebar($index);
    	$content = ob_get_clean();
    	if (!$success) return false;
    	$content = art_normalize_widget_style_tokens($content);
    	$replaces = array(
    		'<!--- BEGIN Widget --->' => "<div class=\"art-Block\">\r\n    <div class=\"art-Block-body\">\r\n",
    		'<!--- BEGIN WidgetTitle --->' => "<div class=\"art-BlockHeader\">\r\n    <div class=\"l\"></div>\r\n    <div class=\"r\"></div>\r\n    <div class=\"art-header-tag-icon\">\r\n        <div class=\"t\">",
    		'<!--- END WidgetTitle --->' => "</div>\r\n    </div>\r\n</div>",
    		'<!--- BEGIN WidgetContent --->' => "<div class=\"art-BlockContent\">\r\n    <div class=\"art-BlockContent-tl\"></div>\r\n    <div class=\"art-BlockContent-tr\"></div>\r\n    <div class=\"art-BlockContent-bl\"></div>\r\n    <div class=\"art-BlockContent-br\"></div>\r\n    <div class=\"art-BlockContent-tc\"></div>\r\n    <div class=\"art-BlockContent-bc\"></div>\r\n    <div class=\"art-BlockContent-cl\"></div>\r\n    <div class=\"art-BlockContent-cr\"></div>\r\n    <div class=\"art-BlockContent-cc\"></div>\r\n    <div class=\"art-BlockContent-body\">\r\n",
    		'<!--- END WidgetContent --->' => "\r\n		<div class=\"cleared\"></div>\r\n    </div>\r\n</div>\r\n",
    		'<!--- END Widget --->' => "\r\n		<div class=\"cleared\"></div>\r\n    </div>\r\n</div>\r\n"
    	);
    	$bwt = '<!--- BEGIN WidgetTitle --->';
    	$ewt = '<!--- END WidgetTitle --->';
    	if ('' == $replaces[$bwt] && '' == $replaces[$ewt]) {
    		$startTitle = 0;
    		$endTitle = 0;
    		$result = '';
    		while (true) {
    			$startTitle = strpos($content, $bwt, $endTitle);
    			if (false == $startTitle) {
    				$result .= substr($content, $endTitle);
    				break;
    			}
    			$result .= substr($content, $endTitle, $startTitle - $endTitle);
    			$endTitle = strpos($content, $ewt, $startTitle);
    			if (false == $endTitle) {
    				$result .= substr($content, $startTitle);
    				break;
    			}
    			$endTitle += strlen($ewt);
    		}
    		$content = $result;
    	}
    	$content = str_replace(array_keys($replaces), array_values($replaces), $content);
    	echo $content;
    	return true;
    }
    
    function art_activeID($pages){
    	$result = null;
    	foreach ($pages as $index => $page){
    		if (is_page($page->ID)) { 
    			$result = $page;
    			break;
    		}
    	}
    	while($result && $result->post_parent) {
    		foreach ($pages as $index => $parent){
          $p = get_page($result->post_parent);
          if ($p->post_status == 'private') {
            $pages[$index]->post_parent = 0;
            $result->post_parent = 0;
            $childs = array();
            $childs = get_page_children( $p->ID, $pages );
            foreach ($childs as $key => $child){
              $childs[$key]->post_parent = 0;
            }
            $childs = array();
            $childs = get_page_children( $result->ID, $pages );
            foreach ($childs as $key => $child){
              $childs[$key]->post_parent = 0;
            }
          }
          if ($parent->ID == $result->post_parent) {
            $p = get_page($parent->post_parent);
            if ($p->post_status != 'private') {
              $result = $parent;
              break;
            } else {
              $pages[$index]->post_parent = 0;
              $childs = array();
              $childs = get_page_children( $parent->ID, $pages );
              foreach ($childs as $key => $child){
                $childs[$key]->post_parent = 0;
              }
            }
    			}
    		}
    	}
    	return ($result ? $result->ID : null);
    }
    
    function art_blogID($pages){
    	$result = null;
    	if(!'page' == get_option('show_on_front')) return $result;
    	$blogID = get_option('page_for_posts');
    	if (!$blogID) return $result;
    	foreach ($pages as $index => $page){
    		if ($page->ID == $blogID) { 
    			$result = $page;
    			break;
    		}
    	}
    	while($result && $result->post_parent) {
    		foreach ($pages as $parent){
    			if ($parent->ID == $result->post_parent) {
    				$result = $parent;
    				breack;
    			}
    		}
    	}
    	return ($result ? $result->ID : null);
    }
    
    function art_process_front(&$pages){
    	if ('page' != get_option('show_on_front')) return;
    	$frontID = get_option('page_on_front');
    	if (!$frontID) return;
    	foreach ($pages as $index => $page)
    		if($page->ID == $frontID) {
    			unset($pages[$index]);
    			$page->post_parent = '0';
    			$page->menu_order = '0';
    			array_unshift($pages, $page);
    			break;
    		}
    }
    
    function art_topIDs($pages){
    	$result = array();
    	foreach ($pages as $index => $page){
    		if (!$page->post_parent) $result[]=$page->ID;
        else {
          $p = get_page($page->post_parent);
          if ($p->post_status == 'private') {
            $result[]=$page->ID;
            $childs = array();
            $childs = get_page_children( $page->ID, $pages );
            foreach ($childs as $child){
              $result[]=$child->ID;
            }
          }
        }
      }
    	return $result;
    }
    
    function art_remove_subitems(&$pages){
    	foreach ($pages as $index => $page)
    		if ($page->post_parent) unset($pages[$index]);
    }
    
    function art_header_page_list_filter($pages)
    {
    	global $artThemeSettings;
    	art_process_front($pages);
    	$artThemeSettings['menu.topItemIDs'] = art_topIDs($pages);
    	$artThemeSettings['menu.activeID'] = art_activeID($pages);
    	$artThemeSettings['menu.blogID'] = art_blogID($pages);
    	if (!$artThemeSettings['menu.showSubmenus']) art_remove_subitems($pages);
    	return $pages;
    }
    
    function art_list_pages_filter($output)
    {
    	global $artThemeSettings;
    	$pref ='page-item-';
    	if($artThemeSettings['menu.topItemIDs'])
    		foreach($artThemeSettings['menu.topItemIDs'] as $id){
    			$output = preg_replace('~<li class="([^"]*)\b(' . $pref . $id . ')\b([^"]*)"><a ([^>]+)>([^<]*)</a>~',
    				'<li class="$1$2$3"><a $4>' . $artThemeSettings['menu.topItemBegin']
    					. '$5' . $artThemeSettings['menu.topItemEnd'] . '</a>', $output, 1);
    		}
    		
    	$frontID = null;
    	$blogID = null;
    	if('page' == get_option('show_on_front')) {
    		$frontID = get_option('page_on_front');
    		$blogID = $artThemeSettings['menu.blogID'];
    	}
    	if ($frontID) 
    		$output = preg_replace('~<li class="([^"]*)\b(' . $pref . $frontID . ')\b([^"]*)"><a href="([^"]*)" ~',
    			'<li class="$1$2$3"><a href="'. get_option('home') .'" ', $output, 1); 
    
    	if ((is_home() && $blogID) || $artThemeSettings['menu.activeID'])
    		$output = preg_replace('~<li class="([^"]*)\b(' . $pref . (is_home() ? $blogID : $artThemeSettings['menu.activeID']) . ')\b([^"]*)"><a ~',
    			'<li class="$1$2$3"><a class="active" ', $output, 1);
    	return $output;
    }
    
    function art_menu_items()
    {
    	global $artThemeSettings;
    	if (true === $artThemeSettings['menu.showHome'] && 'page' != get_option('show_on_front'))
    		echo '<li><a' . (is_home() ? ' class="active"' : '') . ' href="' . get_option('home') . '">'.$artThemeSettings['menu.topItemBegin']
    			. $artThemeSettings['menu.homeCaption'] . $artThemeSettings['menu.topItemEnd'] . '</a></li>';
    	add_action('get_pages', 'art_header_page_list_filter');
    	add_action('wp_list_pages', 'art_list_pages_filter');
    	wp_list_pages('title_li=&sort_column=menu_order');
    	remove_action('wp_list_pages', 'art_list_pages_filter');
    	remove_action('get_pages', 'art_header_page_list_filter');
    }
    
    add_filter('comments_template', 'legacy_comments');  
    function legacy_comments($file) {  
        if(!function_exists('wp_list_comments')) : // WP 2.7-only check  
        $file = TEMPLATEPATH.'/legacy.comments.php';  
        endif;  
        return $file;  
    }
    Poi abbiamo l'header
    Codice HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); if(get_bloginfo('name') != "") echo ' - ' ; bloginfo('name'); }
     elseif (is_single() ) { single_post_title(); }
     elseif (is_page() ) { bloginfo('name'); if(get_bloginfo('name') != "") echo ': '; single_post_title(); }
     else { wp_title('',true); } ?></title>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
    <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" /> 
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="art-page-background-simple-gradient">
    </div>
    <div class="art-Header"><embed type="application/x-shockwave-flash" src="http://www.queensfoggia.net/wordpress/wp-content/plugins/nextgen-gallery/imagerotator.swf" id="ngg_slideshow1" name="ngg_slideshow1" bgcolor="#000000" quality="high" wmode="opaque" flashvars="file=http://www.queensfoggia.net/wordpress/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1&amp;showicons=false&amp;linkfromdisplay=true&amp;shownavigation=false&amp;overstretch=true&amp;backcolor=0x000000&amp;frontcolor=0xFFFFFF&amp;lightcolor=0xCC0000&amp;screencolor=0x000000&amp;rotatetime=5&amp;transition=random&amp;width=999&amp;height=273" height="273" width="999"></div>
    	<script type="text/javascript" defer="defer">
    		var so1786 = new SWFObject("http://www.queensfoggia.net/wordpress/wp-content/plugins/nextgen-gallery/imagerotator.swf", "ngg_slideshow1", "999", "273", "7", "#000000");
    		so1786.addParam("wmode", "opaque");
    		so1786.addVariable("file", "http://www.queensfoggia.net/wordpress/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1");
    		so1786.addVariable("showicons", "false");
    		so1786.addVariable("linkfromdisplay", "true");
    		so1786.addVariable("shownavigation", "true");
    		so1786.addVariable("overstretch", "true");
    		so1786.addVariable("backcolor", "0x000000");
    		so1786.addVariable("frontcolor", "0xFFFFFF");
    		so1786.addVariable("lightcolor", "0xCC0000");
    		so1786.addVariable("screencolor", "0x000000");
    		so1786.addVariable("rotatetime", "5");
    		so1786.addVariable("transition", "random");
    		so1786.addVariable("width", "999");
    		so1786.addVariable("height", "273");
    		so1786.write("ngg_slideshow1");
    	</script>
    
    	</div>
    <div id="art-page-background-glare">
        <div id="art-page-background-glare-image"></div>
    </div>
    <div id="art-main">
    <div class="art-Sheet" margin-right="75px">
        <div class="art-Sheet-tl"></div>
        <div class="art-Sheet-tr"></div>
        <div class="art-Sheet-bl"></div>
        <div class="art-Sheet-br"></div>
        <div class="art-Sheet-tc"></div>
        <div class="art-Sheet-bc"></div>
        <div class="art-Sheet-cl"></div>
        <div class="art-Sheet-cr"></div>
        <div class="art-Sheet-cc"></div>
        <div class="art-Sheet-body">
    <div class="art-nav">
                    	<div class="l"></div>
                    	<div class="r"></div>
                    	<div class="art-nav-center">
                    	<ul class="art-menu">
                    		<li>
                    			<a href="http://www.queensfoggia.net/wordpress" class=" active"><span class="l"></span><span class="r"></span><span class="t">Home</span></a>
                    		</li>
                    		<li>
                    			<a href="http://www.queensfoggia.net/wordpress/?page_id=2"><span class="l"></span><span class="r"></span><span class="t">Chi Siamo</span></a>
                    		</li>		
                    		<li>
                    			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Stagione 2010/2011</span></a>
                    			<ul>
                    				<li><a href="#">Organico</a></li>
                    			    <li><a href="#">Campionato F.I.G.C.</a></li>
                    				<li><a href="#">Torneo "Coppa Italia"</a></li>
                               </ul>
                    		</li>
                            <li>
                    			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Queens Story</span></a>
                    			<ul>
                    				<li><a href="http://www.queensfoggia.net/wordpress/?page_id=19">Stagione 2006/07</a></li>
                    			    <li><a href="http://www.queensfoggia.net/wordpress/?page_id=21">Stagione 2007/08</a></li>
                    				<li><a href="#">Stagione 2008/09</a></li>
                                    <li><a href="#">Stagione 2009/10</a></li>
                               </ul>
                    		</li>	
                            <li>
                    			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Multimedia</span></a>
                    			<ul>
                    				<li><a href="http://www.queensfoggia.net/wordpress/?page_id=11">Fotogallery</a></li>
                    			    <li><a href="http://www.queensfoggia.net/wordpress/?page_id=13">Videogallery</a></li>
                    	        </ul>
                    		</li>	
                             <li>
                    			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Contenuti Extra</span></a>
                    			<ul>
                    				<li><a href="http://www.queensfoggia.net/wordpress/?page_id=34">Vanity Queens</a></li>
                    			    <li><a href="http://www.queensfoggia.net/wordpress/?page_id=386">Le Queens ad "Assist"</a></li>
                                    <li><a href="http://www.queensfoggia.net/wordpress/?page_id=36">Rassegna Stampa</a></li>
                    	        </ul>
                    		</li>
                            <li>
                    			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Sostieni le Queens!</span></a>
                    			<ul>
                    				<li><a href="http://www.queensfoggia.net/wordpress/?page_id=15">Unisciti a noi!</a></li>
                    			    <li><a href="http://www.queensfoggia.net/wordpress/?page_id=17">Sponsor</a></li>
                    	        </ul>
                    		</li>			
                            <li>
                    			<a href="http://www.queensfoggia.net/wordpress/?page_id=33"><span class="l"></span><span class="r"></span><span class="t">Muro</span></a>
                    		</li>		
                            <li>
                    			<a href="http://www.queensfoggia.net/wordpress/?page_id=31"><span class="l"></span><span class="r"></span><span class="t">Contatti</span></a>
                    		</li>			
                         	</div>
    Il codice dell'index
    Codice HTML:
    <?php get_header(); ?>
    <div class="art-contentLayout">
    <div class="art-content">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="art-Post">
        <div class="art-Post-tl"></div>
        <div class="art-Post-tr"></div>
        <div class="art-Post-bl"></div>
        <div class="art-Post-br"></div>
        <div class="art-Post-tc"></div>
        <div class="art-Post-bc"></div>
        <div class="art-Post-cl"></div>
        <div class="art-Post-cr"></div>
        <div class="art-Post-cc"></div>
        <div class="art-Post-body">
    <div class="art-Post-inner art-article">
    <?php ob_start(); ?>
    <h2 class="art-PostHeader">
      <img src="<?php bloginfo('template_url'); ?>/images/PostHeaderIcon.png" width="28" height="32" alt="" />
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
    <?php the_title(); ?>
    </a>
    </h2>
    <?php $metadataContent = ob_get_clean(); ?>
    <?php if (trim($metadataContent) != ''): ?>
    <div class="art-PostMetadataHeader">
    <?php echo $metadataContent; ?>
    
    </div>
    <?php endif; ?>
    <?php $icons = array(); ?>
    <?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="18" height="18" alt="" />
    <?php the_time(__('F jS, Y', 'kubrick')) ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
    <div class="art-PostHeaderIcons art-metadata-icons">
    <?php echo implode(' | ', $icons); ?>
    
    </div>
    <?php endif; ?>
    <div class="art-PostContent">
    
              <?php if (is_search()) the_excerpt(); else the_content(__('Continua a leggere &raquo;', 'kubrick')); ?>
              <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
            
    </div>
    <div class="cleared"></div>
    
    </div>
    
    		<div class="cleared"></div>
        </div>
    </div>
    
    <?php endwhile; ?>
    <?php
    $prev_link = get_previous_posts_link(__('Notizie più recenti &raquo;', 'kubrick'));
    $next_link = get_next_posts_link(__('&laquo; Notizie precedenti', 'kubrick'));
    ?>
    <?php if ($prev_link || $next_link): ?>
    <div class="art-Post">
        <div class="art-Post-tl"></div>
        <div class="art-Post-tr"></div>
        <div class="art-Post-bl"></div>
        <div class="art-Post-br"></div>
        <div class="art-Post-tc"></div>
        <div class="art-Post-bc"></div>
        <div class="art-Post-cl"></div>
        <div class="art-Post-cr"></div>
        <div class="art-Post-cc"></div>
        <div class="art-Post-body">
    <div class="art-Post-inner art-article">
    
    <div class="art-PostContent">
    
    <div class="navigation">
    	<div class="alignleft"><?php echo $next_link; ?></div>
    	<div class="alignright"><?php echo $prev_link; ?></div>
    </div>
    
    </div>
    <div class="cleared"></div>
    
    
    </div>
    
    		<div class="cleared"></div>
        </div>
    </div>
    
    <?php endif; ?>
    <?php else : ?>
    <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
    <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p>
    <?php if(function_exists('get_search_form')) get_search_form(); ?>
    <?php endif; ?>
    
    </div>
    <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
    </div>
    <div class="cleared"></div>
    
    <?php get_footer(); ?>
    E infine, il codice php di una delle altre pagine (il page.php per intenderci)
    Codice HTML:
    <?php get_header(); ?>
    <div class="art-contentLayout">
    <div class="art-content">
    
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    <div class="art-Post">
        <div class="art-Post-tl"></div>
        <div class="art-Post-tr"></div>
        <div class="art-Post-bl"></div>
        <div class="art-Post-br"></div>
        <div class="art-Post-tc"></div>
        <div class="art-Post-bc"></div>
        <div class="art-Post-cl"></div>
        <div class="art-Post-cr"></div>
        <div class="art-Post-cc"></div>
        <div class="art-Post-body">
    <div class="art-Post-inner art-article">
    <?php ob_start(); ?>
    <h2 class="art-PostHeader">
      <img src="<?php bloginfo('template_url'); ?>/images/PostHeaderIcon.png" width="28" height="32" alt="" />
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
    <?php the_title(); ?>
    </a>
    </h2>
    <?php $metadataContent = ob_get_clean(); ?>
    <?php if (trim($metadataContent) != ''): ?>
    <div class="art-PostMetadataHeader">
    <?php echo $metadataContent; ?>
    
    </div>
    <?php endif; ?>
    <?php $icons = array(); ?>
    <?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="18" height="18" alt="" />
    <?php the_time(__('F jS, Y', 'kubrick')) ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
    <div class="art-PostHeaderIcons art-metadata-icons">
    <?php echo implode(' | ', $icons); ?>
    
    </div>
    <?php endif; ?>
    <div class="art-PostContent">
    
              <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
              <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
            
    </div>
    <div class="cleared"></div>
    
    </div>
    
    		<div class="cleared"></div>
        </div>
    </div>
    <?php comments_template(); ?>
    <?php endwhile; endif; ?>
    
    </div>
    <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
    </div>
    <div class="cleared"></div>
    <?php get_footer(); ?>
    Se manca altro, fatemi sapere

    Grazie a chi potrà darmi una mano

  7. #7

    Predefinito

    ciao purtroppo non so benissimo come funziona wordpress... mi ero messo a legger qualcosa ma mi sono arenato... lo studio ha avuto la meglio...

    se mi capita di andare sul pc fisso do un occhiata al codice con firebug, questo add-on per firefox te lo consiglio.. con un semplice click puoi vedere quali elementi del css agiscono su cosa (rendendoli invisibili o cambiando i valori). Ricorda cmq che questo add-on non salva il lavoro e quindi poi le modifiche dovrai farle anche con DW o il programma che usi per html-css.

    senza aver letto il codice (al momento non ho tempo sorry) il primo problema potrebbe esser dovuto a una non corretta impostazione dei div... sembra che il footer non sia contenuto in un div che contiene tutto (tranne lo sfondo arancio) come solitamente è per i siti di con questi temi...

    per il secondo problema penso sia dovuto ad un qualche a:hover impostato male... cmq aspetto l'analisi di geme o art che ne sanno più di me ^^

  8. #8

    Predefinito

    Eccomi di nuovo qui!!
    Vi posto un aggiornamento sul problema in questione. E ringrazio Bisior per la soffiata su firebug..effettivamente l'avevo già installato pochi giorni prima il tuo consiglio, ed è anche grazie a quello che son venuta a capo del problema
    Ok, diciamo che son venuta davvero a capo di tutto ricominciando tutto da zero. E' stato un lavoraccio maaa..modifica qua che modifica là..il problema era proprio nei div chiusi male..

    Per il secondo problema..devo risolvere ancora. Non è questione di a:hover e di css..credo sia più questione di php..devo guardare un pò.. se qualcuno conosce la soluzione.....mi facesse sapere DD

    grazie a tutti comunque

+ Rispondi alla discussione

Regole di scrittura

  • Non puoi postare nuovi argomenti
  • Non puoi postare repliche
  • Non puoi postare allegati
  • Non puoi editare i tuoi post
  • BB code è Attivato
  • Le faccine sono Attivato
  • Il codice [IMG] è Attivato
  • Il codice HTML è Disattivato
ccnp certification | mcts | 640-802 | Adobe User Group | Biagio Di Stefano | Artlandis | Risorsa Informatica
Grafici Creativi - P. IVA: 04631640655