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 © 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> </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 (' ' == $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
Bookmarks