02.12.2011, Saat: 02:21
hocam functions.php için manuel anlatım olsa iyi olacak az önce bir functions.php ekledim google seo komple gitti onu düzeltsem koyduğum eklenti gidecek yokmudur bunun manuel girilecek kodları.
buyrun biraz araştırdım buldum manuelini.
buyrun biraz araştırdım buldum manuelini.
Kod:
BUL:
function get_profile_link($uid=0)
{
DEĞİŞTİR:
function get_profile_link($uid=0)
{
if(function_exists("google_seo_url_profile"))
{
$link = google_seo_url_profile($uid);
if($link)
{
return $link;
}
}
BUL:
function get_announcement_link($aid=0)
{
DEĞİŞTİR:
function get_announcement_link($aid=0)
{
if(function_exists("google_seo_url_announcement"))
{
$link = google_seo_url_announcement($aid);
if($link)
{
return $link;
}
}
BUL:
function get_forum_link($fid, $page=0)
{
DEĞİŞTİR:
function get_forum_link($fid, $page=0)
{
if(function_exists("google_seo_url_forum"))
{
$link = google_seo_url_forum($fid, $page);
if($link)
{
return $link;
}
}
BUL:
function get_thread_link($tid, $page=0, $action='')
{
DEĞİŞTİR:
function get_thread_link($tid, $page=0, $action='')
{
if(function_exists("google_seo_url_thread"))
{
$link = google_seo_url_thread($tid, $page, $action);
if($link)
{
return $link;
}
}
BUL:
function get_post_link($pid, $tid=0)
{
DEĞİŞTİR:
function get_post_link($pid, $tid=0)
{
if(function_exists("google_seo_url_post"))
{
$link = google_seo_url_post($pid, $tid);
if($link)
{
return $link;
}
}
BUL:
function get_event_link($eid)
{
DEĞİŞTİR:
function get_event_link($eid)
{
if(function_exists("google_seo_url_event"))
{
$link = google_seo_url_event($eid);
if($link)
{
return $link;
}
}
BUL:
function get_calendar_link($calendar, $year=0, $month=0, $day=0)
{
DEĞİŞTİR:
function get_calendar_link($calendar, $year=0, $month=0, $day=0)
{
if(function_exists("google_seo_url_calendar"))
{
$link = google_seo_url_calendar($calendar, $year, $month, $day);
if($link)
{
return $link;
}
}
BUL:
function get_calendar_week_link($calendar, $week)
{
DEĞİŞTİR:
function get_calendar_week_link($calendar, $week)
{
if(function_exists("google_seo_url_calendar_week"))
{
$link = google_seo_url_calendar_week($calendar, $week);
if($link)
{
return $link;
}
}
BUL:
function multipage($count, $perpage, $page, $url)
{
DEĞİŞTİR:
function multipage($count, $perpage, $page, $url)
{
if(function_exists("google_seo_url_multipage"))
{
$newurl = google_seo_url_multipage($url);
if($newurl)
{
$url = $newurl;
}
}