워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법




워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법_사진1




워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법_사진2





워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법_사진3



워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법_사진






코드 복사하기

// WP Statistics
add_filter('wp_statistics_search_engine_list', function ($engines) {
$engines['naver'] = [
'name' => 'Naver',
'translated' => __('Naver', 'wp_statistics'),
'tag' => 'naver',
'sqlpattern' => '%naver.com%',
'regexpattern' => 'naver.com',
'querykey' => 'query',
'image' => 'naver.png',
'logo_url' => 'naver.png'
];
$engines['daum'] = [
'name' => 'Daum',
'translated' => __('Daum', 'wp_statistics'),
'tag' => 'daum',
'sqlpattern' => '%daum.net%',
'regexpattern' => 'daum\.net',
'querykey' => 'q',
'image' => 'daum.png',
'logo_url' => 'daum.png'
];
return $engines;
});





워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법_사진5



“Enable” 클릭해주기


워드프레스 WP Statistics 통계 플러그인, 네이버 다음 추가 방법_사진6




답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다