• 26-05-2010, 22:25:05
    #1
    Temada yazıların altında etiketler çıkmıyor arkadaşlar ve birde yazı yazarken resim yeri ortada olarak ayarlanmasına rağmen resimler sitede solda çıkıyor. Bunları nasıl halledebilirim? Yardımcı olanlara şimdiden teşekkür ederim.
  • 26-05-2010, 22:34:09
    #2
    1 - Etiketleri anasayfanızda göstermek için index.php, etiketleri sadece yazılarda göstermek için single.php dosyasını açınız.

    2 - Aşağıdaki kodu bulunuz:

    <?php endwhile; ?>
    3- Bu kodun hemen öncesinde, etiketleri göstermek istediğiniz yere şu kodu ekleyin:

    <?php the_tags( '
    Etiketler: ', ', ', '
    '); ?>
  • 26-05-2010, 22:34:32
    #3
    Etiketlerin çıkması için index.php, single.php, archive.php dosyalarına aşağıdaki kodu eklemen lazım:
    <?php the_tags('<b>Etiketler:</b> ', ', ', '<br />'); ?>

    Resim sorunu içinde sitenin css dosyasını buraya koyarsan ona da bakarım.
  • 26-05-2010, 23:17:24
    #4
    antishareware adlı üyeden alıntı: mesajı görüntüle
    Etiketlerin çıkması için index.php, single.php, archive.php dosyalarına aşağıdaki kodu eklemen lazım:
    <?php the_tags('<b>Etiketler:</b> ', ', ', '<br />'); ?>

    Resim sorunu içinde sitenin css dosyasını buraya koyarsan ona da bakarım.
    @charset "utf-8";
    <?php
    ob_start();
    require('../../../wp-blog-header.php');
    include_once(dirname(__FILE__) . '/functions.php');
    header("Content-type: text/css");
    ob_end_flush();
    ?>
    /*
    Theme Name: Tigopediatr
    Based on: Tiga Theme by Shamsul Azhar
    Theme URI: http://www.sizlopedia.com/tigopedia/
    Description: Wordpress Theme That Makes You Sizzle
    Author: Sizlopedia
    Author URI: http://www.sizlopedia.com
    Türkçeleştiren: http://www.themes-wordpress.org
    Version: 1.0
    */
    
    /***************************************************************************/
    /* HTML Tags */
    /***************************************************************************/
    
    body {
    	background-color:<?php tiga_bodyBgColor(); ?>;
    	font-family:<?php tiga_getValue('bodyFontFamily'); ?>;
    	margin:0px;
    	padding:0px;
    	text-align:center;
    	<?php tiga_bgImage('body'); ?>
    	background-attachment:fixed;
    }
    
    h1 {
    	margin:0px;
    	padding:0px;
    }
    
    h2 {
            color: #2fa5c1;
            list-style:none;
            font-size:20px;
            font-weight: bold;
    	margin-bottom:0px;
    }
    
    blockquote {
            color: #003366;
    	border-color:<?php tiga_getValue('blockquoteBorderColor'); ?>;
    	background-color:<?php tiga_getValue('blockquoteBgColor'); ?>;
    	border-width:1px 1px 1px 8px;
    	border-style: solid solid solid solid;
    }
    
    a:link, a:visited, a:hover  {
    	color: #207fad;
    	text-decoration:none;
    }
    
    /***************************************************************************/
    /* This is the container for the whole page */
    /***************************************************************************/
    
    .page {
    	max-width:<?php tiga_getValue('maxWidth'); ?>;
    	min-width:<?php tiga_getValue('minWidth'); ?>;
    
    	<?php tiga_minMaxWidthIeHack(); ?>
    
    	position:relative;
    	padding:5px;
    	margin:0 auto;
    	text-align:left;
    }
    
    /***************************************************************************/
    /* Header */
    /***************************************************************************/
    
    .header {
    	border-color:<?php tiga_headerBorderColor(); ?>;
    	background-color:<?php tiga_headerBgColor(); ?>;
    	height:<?php tiga_headerHeight(); ?>px;
    	<?php tiga_bgImage('header'); ?>
    	border-style:solid;
    	margin-bottom:5px;
    	border-width: 1px;
    	padding-left:10px;
    }
    
    .blog-name:link, .blog-name:visited, .blog-name:hover {
    	color:<?php tiga_getValue('blogNameColor'); ?>;
    	font-family:<?php tiga_getValue('blogNameFontFamily'); ?>;
    	font-size:<?php tiga_getValue('blogNameFontSize'); ?>;
    	font-weight:<?php tiga_getValue('blogNameFontWeight'); ?>;
    	text-decoration:none;
    	background-color:transparent;
    }
    
    .blog-description {
    	color:<?php tiga_getValue('blogDescriptionColor'); ?>;
    	font-family:<?php tiga_getValue('blogDescriptionFontFamily'); ?>;
    	font-size:<?php tiga_getValue('blogDescriptionFontSize'); ?>;
    	font-weight:<?php tiga_getValue('blogDescriptionFontWeight'); ?>;
    	margin:0px;
    	padding-left:5px;
    }
    
    /***************************************************************************/
    /* Menu Bar */
    /***************************************************************************/
    
    .menu-bar {
    	text-align:center;
    	padding:5px;
    	margin:0;
    	border:1px solid #60a6c8;
    	white-space:nowrap;
    	margin-bottom:5px;
    	background: #FFF;
    }
    
    .menu-bar ul {
    	padding:5px 0px;
    	margin:0;
    }
    
    /***************************************************************************/
    /* Post */
    /***************************************************************************/
    
    .post-title:link, .post-title:visited, .post-title:hover {
          font-size:20px;
          font-family:<?php tiga_getValue('postTitleFontFamily'); ?>;
          font-weight: normal;
          color:<?php tiga_getValue('postTitleColor'); ?>;
          background: #f8fdf8;
          border-top: 1px solid #a8d33d;
          border-bottom: 1px solid #a8d33d;
          margin-bottom:0px;
          padding: 2px;
    }
    
    .post-content {
    	font-size:<?php tiga_getValue('postFontSize'); ?>;
    	color:#333333;
            margin-top:10px;
    }
    
    .post-content ul {
    	list-style:url('images/bullet.png');
    	padding-left:18px;
    	margin-top:0px;
    	margin-left:0px;
    }
    
    .post-content li {
    	margin-top:5px;
    }
    
    .post-time, .post-author {
    	font-size:8pt;
    	color:#003366;
    	background-color: #FFFFFF;
    }
    
    .post-metadata {
    	font-size:8pt;
    	color:#003366;
    	background-color: #FFFFFF;
    	padding-left:3em;
    }
    
    /***************************************************************************/
    /* Sidebars */
    /***************************************************************************/
    
    .left-sidebar, .right-sidebar {
    	top:<?php tiga_sidebarsTop(); ?>px;
    	font-size:8pt;
    	position:absolute;
    }
    
    .left-sidebar {
    	width:<?php tiga_leftSidebarWidth(); ?>px;
    	left:5px;
    }
    
    .right-sidebar {
    	width:<?php tiga_rightSidebarWidth(); ?>px;
    	right:5px;
    }
    
    /***************************************************************************/
    /* WordPress Sidebar Widgets */
    /***************************************************************************/
    
    /* Left and right sidebars */
    ul.left-sidebar, ul.right-sidebar {
    	padding:0px;
    	margin:0px;
    }
    
    /* Left widget title */
    ul.left-sidebar li h2 {
    	<?php tiga_bgImage('leftWidgetTitle'); ?>
    	<?php tiga_bgImage('leftWidgetTitle'); ?>
    	border-color:<?php tiga_widgetBorderColor(LEFT); ?>;
    	color:<?php tiga_widgetTitleFontColor(LEFT); ?>;
    	background-color:<?php tiga_widgetTitleBgColor(LEFT); ?>;
    }
    
    /* Right widget title */
    ul.right-sidebar li h2 {
    	<?php tiga_bgImage('rightWidgetTitle'); ?>
    	<?php tiga_bgImage('rightWidgetTitle'); ?>
    	border-color:<?php tiga_widgetBorderColor(RIGHT); ?>;
    	color:<?php tiga_widgetTitleFontColor(RIGHT); ?>;
    	background-color:<?php tiga_widgetTitleBgColor(RIGHT); ?>;
    }
    
    /* Left and right widget title */
    .widgettitle, ul.left-sidebar li h2, ul.right-sidebar li h2 {
    	border-width:0px 0px 1px 0px;
    	border-style:solid;
    	font-size:9pt;
    	font-weight: bold;
    	padding:5px;
    	margin:-10px -5px 5px;
    }
    
    /* Left widget */
    .left-wp-widget {
    	border-color:<?php tiga_widgetBorderColor(LEFT); ?>;
    	width:<?php tiga_leftWidgetWidth(); ?>px;
    }
    
    /* Right widget */
    .right-wp-widget {
    	border-color:<?php tiga_widgetBorderColor(RIGHT); ?>;
    	width:<?php tiga_rightWidgetWidth(); ?>px;
    }
    
    /* Left and right widget */
    .left-wp-widget, .right-wp-widget {
    	padding:10px 5px;
    	border-width:1px;
    	border-style:solid;
    	margin-bottom:5px;
    	background-color:#FFFFFF;
    	list-style:url('images/bullet.png');
    }
    
    /* Style of the block containing the widget contents */
    .left-wp-widget ul, .right-wp-widget ul {
    	list-style:url('images/bullet.png');
    	padding-left:7px;
    	margin-top:0px;
    	margin-left:0px;
    }
    
    /* Style of each items in the widget contents */
    .left-wp-widget li, .right-wp-widget li {
    	margin-top:5px;
    }
    
    /* In case the widget content contains a form eg. the Search box */
    .left-wp-widget form, .right-wp-widget form {
    	margin:0px;
    }
    
    /* Correct the style if the widget title is a link */
    h2.widgettitle a:link {
    	color:<?php tiga_widgetTitleFontColor(LEFT); ?>;
    	text-decoration:none;
    }
    
    /* Correct the style if the widget title is a link */
    h2.widgettitle a:visited {
    	color:<?php tiga_widgetTitleFontColor(LEFT); ?>;
    }
    
    /***************************************************************************/
    /* Old Style Tiga Widgets */
    /***************************************************************************/
    
    /* Adds background image to the left widget title */
    .left-widget-title {
    	<?php tiga_bgImage('leftWidgetTitle'); ?>
    }
    
    /* Adds background image to the right widget title */
    .right-widget-title {
    	<?php tiga_bgImage('rightWidgetTitle'); ?>
    }
    
    /* Adds background image to the center widget title */
    .center-widget-title {
    	<?php tiga_bgImage('centerWidgetTitle'); ?>
    }
    
    .left-widget-title {
    	color:<?php tiga_widgetTitleFontColor(LEFT); ?>;
    	background-color:<?php tiga_widgetTitleBgColor(LEFT); ?>;
    	border-color:<?php tiga_widgetBorderColor(LEFT); ?>;
    	width:<?php tiga_leftWidgetWidth(); ?>px;
    	border-width:1px 1px 1px 1px;
    	border-style: solid;
    	font-size: 12pt;
    	font-weight: normal;
    	padding:3px 5px 3px 5px;
    }
    
    .left-widget {
    	border-color:<?php tiga_widgetBorderColor(LEFT); ?>;
    	width:<?php tiga_leftWidgetWidth(); ?>px;
    	border-width:0px 1px 1px 1px;
    	border-style: solid;
    	color:#000000;
    	background-color:#FFFFFF;
    	padding:5px;
    	margin-bottom:5px;
            font-size:13px;
    }
    
    .right-widget-title {
    	color:<?php tiga_widgetTitleFontColor(RIGHT); ?>;
    	background-color:<?php tiga_widgetTitleBgColor(RIGHT); ?>;
    	border-color:<?php tiga_widgetBorderColor(RIGHT); ?>;
    	width:<?php tiga_rightWidgetWidth(); ?>px;
    	border-width:1px 1px 0px 1px;
    	border-style: solid;
    	font-size: 12pt;
    	font-weight: normal;
    	padding:3px 5px 3px 5px;
    }
    
    .right-widget {
    	border-color:<?php tiga_widgetBorderColor(RIGHT); ?>;
    	width:<?php tiga_rightWidgetWidth(); ?>px;
    	border-width:1px 1px 1px 1px;
    	border-style: solid;
    	color:#000000;
    	background-color:#FFFFFF;
    	padding:5px;
    	margin-bottom:5px;
            font-size:13px;
    }
    
    .center-widget-title {
    	color:<?php tiga_widgetTitleFontColor(CENTER); ?>;
    	background-color:<?php tiga_widgetTitleBgColor(CENTER); ?>;
    	border-color:<?php tiga_widgetBorderColor(CENTER); ?>;
    	margin-left:<?php tiga_centerWidgetMarginLeft(); ?>px;
    	margin-right:<?php tiga_centerWidgetMarginRight(); ?>px;
    	border-width:1px 1px 0px 1px;
    	border-style: solid;
    	font-size:12pt;
    	font-weight: normal;
    	padding:5px;
    }
    
    .center-widget {
    	border-color:<?php tiga_widgetBorderColor(CENTER); ?>;
    	margin-left:<?php tiga_centerWidgetMarginLeft(); ?>px;
    	margin-right:<?php tiga_centerWidgetMarginRight(); ?>px;
    	color:#000000;
    	background-color:#FFFFFF;
    	border-width: 1px;
    	border-style: solid;
    	padding:0em 1em 1em 1em;
    	margin-bottom:5px;
    	font-size:10pt;
    }
    
    .footer {
    	margin-left:<?php tiga_centerWidgetMarginLeft(); ?>px;
    	margin-right:<?php tiga_centerWidgetMarginRight(); ?>px;
    	border-color:<?php tiga_widgetBorderColor(CENTER); ?>;
    	font-size:12px;
    	text-align:center;
    	position: relative;
    	color:#000000;
    	background-color:#FFFFFF;
    	border-width: 1px;
    	border-style:solid;
    }
    
    .footer p {
    	margin:10px;
    }
    
    img {
    	border-width:0px;
    }
    
    h3#respond, h3#comments {
    	color:#000000;
    }
    
    .single-post-metadata {
    	color:#003366;
    	background: #f8fbfd;
    	border-top:1px solid #b1d9f2;
    	border-bottom:1px solid #b1d9f2;
    	font-size:10pt;
    	padding:1em;
    	clear:both;
    }
    
    .left-widget ul, .right-widget ul {
    	list-style:url('images/bullet.png');
    	padding-left:18px;
    	margin-top:0px;
    	margin-left:0px;
    }
    
    .left-widget li,  .right-widget li {
    	margin-top:5px;
    }
    
    h3#respond, h3#comments {
    	font-family:Helvetica, Arial, sans-serif;
    	text-decoration: none;
    	background-color: #FFFFFF;
    	margin-bottom:0px
    }
    
    /* Comments Styles */
    
    .comment-meta {
            color: #3588b1;
            font-weight: bold;
            font-size:14px;
    }
    
    .comment-header {
    	border:0px;
    	padding:5px 10px;
    	border-style:solid;
    	background-color:#dcf1fe;
    }
    
    .comment-num:link, .comment-num:visited, .comment-num:hover{
    	float:right;
    	font-family:Helvetica, Arial, sans-serif;
    	font-size:36px;
    	color:#60a6c8;
    	background-color:transparent;
    	text-decoration:none;
    }
    
    .comment-text {
            color: #196c94;
    	padding:0px 10px;
    	border-color:#c8e5f7;
    	border-width:1px;
    	border-style:solid;
    	background-color:#fdfefe;
    }
    
    .comment-text a {
    border-bottom:1px dashed #196c94;
    }
    
    .comment-list .odd-comment,
    .comment-list .even-comment {
    	font-size:12px;
    	margin-bottom:15px;
    }
    
    .comment-list {
    	font-size:12px;
    	padding:0px;
    	margin-top:15px;
    }
    
    .comment-date{
    	color:#1f91da;
    	font-size:7pt;
    }
    
    .comment-edit-link {
    	color:#999999;
    	font-size:7pt;
    }
    
    /***************************************************************************/
    /* Dum, dum dum dum, Don't touch this! */
    /***************************************************************************/
    /* IE Hack (http://www.positioniseverything.net/easyclearing.html) - Begin */
    .clearfix:after {
    	content: ".";
    	display: block;
    	height: 0;
    	clear: both;
    	visibility: hidden;
    }
    
    .clearfix {display: inline-table;}
    
    /* Hides from IE-mac \*/
    * html .clearfix {height: 1%;}
    .clearfix {display: block;}
    /* End hide from IE-mac */
    /* IE Hack - End */
    /***************************************************************************/
    
    /* Search input */
    input#s {
    	width:90%;
    }
    
    /* Page nav */
    .bottom-page-nav, .top-page-nav {
    	color:#003366;
    	text-align:center;
    	background-color:#FFFFFF;
    }
    
    .permitted-tags {
    	font-size:7pt;
    	color:#999999;
    	background-color:#FFFFFF;
    	width:300px;
    }
    
    textarea#comment {
    	width:400px;
    }
    
    .google-ads {
    	text-align:center;
    }
    
    .gravatar {
    	float:left;
    	border:1px solid #888888;
    	padding:2px;
    	background-color:#ffffff;
    	margin-right:5px;
    }