PHP code example of tomk79 / px2-search-bots-headers
1. Go to this page and download the library: Download tomk79/px2-search-bots-headers library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tomk79 / px2-search-bots-headers example snippets
$conf->funcs->processor->html = array(
// 〜中略〜
// px2-search-bots-headers
// 検索ボット向けの制御メタ情報 を head要素内に追加する。
'tomk79\pickles2\px2_search_bots_headers\main::append()' ,
// 〜中略〜
);
<html>
<head>
$tag = \tomk79\pickles2\px2_search_bots_headers\main::tag(array(
'follow'=>'no',
'index'=>'',
'archive'=>'',
));
echo $tag;