Neresinde? Ben arattım fakat bulunamıyor. :)
Şöyle bir çözüm de sunabilirim size.
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
}
body {
background:#dcddde;
font-family: Tahoma;
font-size: 12px;
color: #000;
}
a {
font-weight: bold;
text-decoration: none;
color:#000;
}
a:hover {
color: #000;
}
li {
list-style:none;
}
span {
font-weight:bold;
}
.genis {
background:#fff;
width:1000px;
margin:0 auto;
border-left:1px solid #b1b2b2;
border-right:1px solid #b1b2b2;
}
.header {
height:140px;
width:990px;
margin:0 auto;
}
.logo {
float:left;
width:400px;
height:100px;
}
.slogan {
float:left;
font-size: 14px;
color:#545454;
}
.reklam1{
float:right;
width:468px;
height:60px;
margin-top:20px;
}
.menu {
background:url('images/ustmenu.jpg') no-repeat;
width:990px;
height:43px;
float:left;
}
.menu li {
background:url('images/ayrac.jpg') no-repeat right;
float:left;
font-size:12px;
font-weight:normal;
line-height:39px;
}
.menu li a{float:left;line-height:39px; color:#fff; padding:0px 11px 0px 11px;
}
.menu li a:hover{ background:url('images/ayrac2.jpg') repeat-x;
color:#fff;}
input.arama {
float:left;
width:200px;
border:1px solid #9a9a9a;
padding:7px 7px 6px 7px;
color:#484848;
font-size:11px;
margin-left:10px;
margin-top:6px;
}
input.buton {
float:left;
background:url('images/aramabuton.jpg') no-repeat;
border:none;
width:62px;
padding:7px 7px 6px 7px;
margin-left:5px;
margin-top:6px;
}
#slide{
width:678px;
position:relative;
border:1px solid #ccc;
height:315px;
background:#fff;
margin-bottom:10px;
}
#slide h2{
padding:10px;
}
#slide ul.ui-tabs-nav{
position:absolute;
top:0; left:400px;
list-style:none;
padding:0; margin:0;
width:278px;
}
#slide ul.ui-tabs-nav li{
padding:1px 0; padding-left:13px;
font-size:12px;
color:#666;
}
#slide ul.ui-tabs-nav li img{
float:left; margin:2px 5px;
background:#fff;
padding:2px;
border:1px solid #eee;
width:70px;
}
#slide ul.ui-tabs-nav li span{
font-size:11px; font-family:Verdana;
line-height:18px;
}
#slide li.ui-tabs-nav-item a{
display:block;
height:60px;
color:#333; background:#fff;
line-height:20px;
}
#slide li.ui-tabs-nav-item a:hover{
background:#f2f2f2;
}
#slide li.ui-tabs-selected{
background:url('images/selected-item.gif') top left no-repeat;
}
#slide ul.ui-tabs-nav li.ui-tabs-selected a{
background:#E9E9E9;
}
#slide .ui-tabs-panel{
width:400px;
height:315px;
background:#999; position:relative;
}
#slide .ui-tabs-panel .info{
position:absolute;
top:245px; left:0;
height:70px;
background: url('images/transparent-bg.png');
width:400px;
}
#slide .info h2{
font-size:18px; font-family:Georgia, serif;
color:#fff; padding:5px; margin:0;
overflow:hidden;
}
#slide .info p{
margin:0 5px;
font-family:Verdana; font-size:11px;
line-height:15px; color:#f0f0f0;
}
#slide .info a{
text-decoration:none;
color:#fff;
}
#slide .info a:hover{
text-decoration:underline;
}
#slide .ui-tabs-hide{
display:none;
}
.attachment-slide-thumbu{
width:400px;
height:315px;
}
.genel {
width:990px;
margin:10px auto 0px auto;
}
.solsutun {
width:680px;
float:left;
}
.solsutun .baslik{
background:#dcddde;
padding-left:10px;
color:#000;
line-height:30px;
margin-bottom:10px;
}
.kutular{
float:left;
width:220px;
padding-right:10px;
padding-bottom:10px;
height:300px;
}
.kutular a{
color:#666666;
}
.kutular a:hover{
color:#ff0202;
}
.attachment-medium{
width:218px;
height:130px;
border:1px solid #555;
}
.title{
padding:8px 0px 8px 0px;
}
.entry p{
padding:5px 0px 5px 0px;
line-height:18px;
}
.katet{
font-size:12px;
font-weight:normal;
}
.katet a{font-weight:normal;}
.paylas{
float:right;
}
.sayfalama{
float:left;
width:680px;
}
.sagsutun {
width:300px;
float:right;
margin-right:5px;
}
.sagkutu{
width:300px;
background:#fff;
margin-bottom:12px;
padding-bottom:1px;
}
.efekt{
background:url('images/h2.jpg') no-repeat;
height:30px;
width:300px;
}
.efekt a{
display:block;
float:left;
width:100px;
text-align:center;
line-height:30px;
color:#fff;
}
.efekt a.aktif {
background:#999;
display:block;
float:left;
font-size:12px;
font-family:Arial;
color:#fff;
text-align:center;
}
.efekt a:hover {
display:block;
float:left;
font-size:12px;
font-family:Arial;
color:#fff;
text-align:center;
}
.sagkutu h2{
background:url('images/h2.jpg') no-repeat;
width:300px;
padding-left:10px;
line-height:30px;
color:#fff;
}
.sagkutu ul{
margin:0px auto 15px auto;
width:280px;
}
.sagkutu li{
list-style:none;
border-bottom:1px dotted #757575;
padding:8px 0px 8px 0px;
}
.sagkutu li a{
background:url('images/li.gif') no-repeat left center;
font-weight:normal;
padding-left:15px;
color:#555;
}
.sagkutu li a:hover{
background:url('images/lii.gif') no-repeat left center;
color:#ff0000;
}
.sosyalmedya img{
float:left;
width:32px;
height:32px;
padding:10px 13px 10px 14px;
}
.footer {
background:#999999;
width:100%;
height:110px;
color:#FFF;
}
.footeric{
margin:0 auto;
width:990px;
padding-top:30px;
}
.footersol {
float:left;
width:500px;
}
.footersag {
float: right;
width: 300px;
}
.footer a{
color:#fff;
font-weight:normal;
}
.yorum {
float: left;
width: 680px;
margin-top:10px;
}
.yorumbaslik {
float:left;
width:670px;
background:#dcddde;
padding-left:10px;
color:#000;
line-height:30px;
margin-bottom:10px;
}
.yorum li {
list-style:none;
width:680px;
margin-top:5px;
margin-bottom:5px;
float:left;
}
.yorumsol{
width:75px;
height:75px;
float:left;
padding:2px;
margin-right:5px;
}
.yorumsag {
float:left;
width:595px;
}
.yorumtarih{
color: #555;
padding-bottom:5px;
}
.yorumtarih span{
color:#000;
}
.label{
float:left;
width:600px;
font-size:12px;
color:#000;
font-weight:bold;
margin-top:5px;
}
.labeltext{
float:left;
width:80px;
line-height:25px;
}
.kutu{
float:left;
padding:5px;
border:1px solid #dbdbdb;
}
.yorumbuton {
background-color: #dcddde;
border: 0 none;
color: #000;
float: right;
font-weight: bold;
height: 25px;
margin-right: 100px;
margin-top: 5px;
width: 80px;
}
Şöyle bir çözüm de sunabilirim size.
Lütfen Yönetim Panelinden Slide alanında listemek istediğiniz içerik türünden birini seçiniz (Son Yazıları Göster veya Kategori Yazılarını Göster)
$resim = get_post_custom_values("resim");
$resim = $resim[0];
if ($resim) {
$img = $resim;
} elseif (has_post_thumbnail()) {
$img = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
} else {
$img = get_bloginfo('template_url')."/images/ResimYok.png";
}
?>
$slidecategory = get_option('srr_slide_category');
$category_id = get_cat_ID( ''.$slidecategory.'' );
?>
query('cat='.$category_id.'&showposts=5'); ?>
have_posts()) : $SlidePosts->the_post(); $a++; ?>
$slidecategory = get_option('srr_slide_category');
$category_id = get_cat_ID( ''.$slidecategory.'' );
?>
query('cat='.$category_id.'&showposts=5'); ?>
have_posts()) : $SlidePosts->the_post(); $a++; ?>
$resim = get_post_custom_values("resim");
$resim = $resim[0];
if ($resim) {
$img = $resim;
} elseif (has_post_thumbnail()) {
$img = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
} else {
$img = get_bloginfo('template_url')."/images/ResimYok.png";
}
?>
Yaptım hocam yine düzelmedi :)