﻿<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress Türkiye Forumları Konu: ufak bir seo düzenlemesi modu, smileylere width height verme</title>
<link>http://www.wordpress-tr.com/forum/</link>
<description>WordPress Türkiye Forumları Konu: ufak bir seo düzenlemesi modu, smileylere width height verme</description>
<language>en</language>
<pubDate>Sat, 22 Nov 2008 23:47:11 +0000</pubDate>

<item>
<title>NetWormZ konu: "ufak bir seo düzenlemesi modu, smileylere width height verme"</title>
<link>http://www.wordpress-tr.com/forum/topic/3143#post-17144</link>
<pubDate>Sal, 16 Oct 2007 14:05:58 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">17144@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;ewt soul ben NetWormZ benden başka yok zaten yaw : )
&#60;/p&#62;</description>
</item>
<item>
<title>SoulSmasher konu: "ufak bir seo düzenlemesi modu, smileylere width height verme"</title>
<link>http://www.wordpress-tr.com/forum/topic/3143#post-16445</link>
<pubDate>Cts, 06 Oct 2007 18:05:29 +0000</pubDate>
<dc:creator>SoulSmasher</dc:creator>
<guid isPermaLink="false">16445@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;Teşekkürler :)&#60;/p&#62;
&#60;p&#62;@networms - siz phpfusion-tr.comdaki networmz musunuz??
&#60;/p&#62;</description>
</item>
<item>
<title>NetWormZ konu: "ufak bir seo düzenlemesi modu, smileylere width height verme"</title>
<link>http://www.wordpress-tr.com/forum/topic/3143#post-16444</link>
<pubDate>Cts, 06 Oct 2007 17:52:50 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">16444@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;saoslun kardeşim.
&#60;/p&#62;</description>
</item>
<item>
<title>SoulSmasher konu: "ufak bir seo düzenlemesi modu, smileylere width height verme"</title>
<link>http://www.wordpress-tr.com/forum/topic/3143#post-16006</link>
<pubDate>Paz, 30 Sep 2007 00:34:17 +0000</pubDate>
<dc:creator>SoulSmasher</dc:creator>
<guid isPermaLink="false">16006@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;arakdaşlar whois.sc/siteadresiniz.com adresinde seo text browsera bakarsanız istatistiklerinizde göreceksiniz ki google SEO için her img tagında width, height ve alt değerleri var olmalı ve de /&#38;gt; şeklinde bitmeli.&#60;br /&#62;
ben seo score umu yükseltmeyi denerken farkettim sadece smileylerde bu özellik yok.&#60;/p&#62;
&#60;p&#62;wp-includes/functions.php de şu kodu bulun:&#60;/p&#62;
&#60;p&#62;foreach ( (array) $wpsmiliestrans as $smiley =&#38;gt; $img ) {&#60;/p&#62;
&#60;p&#62;altına ekleyin:&#60;/p&#62;
&#60;p&#62;/*-------------------------------------\&#60;br /&#62;
smiley en boy algılama modu:&#60;br /&#62;
kodlayan:  SoulSmasher&#60;br /&#62;
&#60;a href=&#34;http://www.soulsmasher.net&#34; rel=&#34;nofollow&#34;&#62;www.soulsmasher.net&#60;/a&#62;&#60;br /&#62;
\--------------------------------------*/&#60;br /&#62;
$smileyimg = &#34;$siteurl/wp-includes/images/smilies/$img&#34;;&#60;br /&#62;
if ( @file_exists($smileyimg) ) {&#60;br /&#62;
$size = @getimagesize($smileyimg);&#60;br /&#62;
$imgwidth = $size[0];&#60;br /&#62;
$imgheight = $size[1];&#60;br /&#62;
} else { //width ve height 15 çünkü standart smileyler öyle :)&#60;br /&#62;
$imgwidth = 15;&#60;br /&#62;
$imgheight = 15;&#60;br /&#62;
}&#60;br /&#62;
//smiley algılama modu bitti`&#60;/p&#62;
&#60;p&#62;şimdi şu kodu bulun:&#60;/p&#62;
&#60;p&#62;$wp_smiliesreplace[] = &#38;quot; &#38;lt;&#38;#105;mg src='$siteurl/wp-includes/images/smilies/$img'  &#38;nbsp;alt='$smiley_masked' class='wp-smiley' /&#38;gt; &#38;quot;;&#60;/p&#62;
&#60;p&#62;şöyle değiştirin:&#60;/p&#62;
&#60;p&#62;$wp_smiliesreplace[] = &#38;quot; &#38;lt;&#38;#105;mg src='$siteurl/wp-includes/images/smilies/$img' width='$imgwidth' height='$imgheight' &#38;nbsp;alt='$smiley_masked' class='wp-smiley' /&#38;gt; &#38;quot;;&#60;/p&#62;
&#60;p&#62;localhostta ve kendi sitemde denedim, çok güzel çalışıyor :)&#60;/p&#62;
&#60;p&#62;dipnot: çok ufak bir ihtimal de olsa (10000 de bir falan, çünkü fonksiyon hata göstermiyor) error logların fazlalığından dolayı server kasarsa kodu kaldırın, yada en son düzenlemede width height yerine sabit sayı girin ve ilk eklenen kodu eklemeyin. 2 hafta önce başıma geldi ama kod agresif modda değildi o zaman yani fonksiyon başında @ işareti yoktu&#60;br /&#62;
bu sefer olmaz öyle bir sorun &#60;/p&#62;
&#60;p&#62;afiyet olsun:)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
