本文整理匯總了PHP中GoogleSitemapGenerator::HtmlGetFreqNames方法的典型用法代碼示例。如果您正苦於以下問題:PHP GoogleSitemapGenerator::HtmlGetFreqNames方法的具體用法?PHP GoogleSitemapGenerator::HtmlGetFreqNames怎麽用?PHP GoogleSitemapGenerator::HtmlGetFreqNames使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GoogleSitemapGenerator
的用法示例。
在下文中一共展示了GoogleSitemapGenerator::HtmlGetFreqNames方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: HtmlShowOptionsPage
//.........這裏部分代碼省略.........
?>
" /></label><br />
<cite><?php
_e("Note", "sitemap");
?>
: <?php
_e("Child posts won't be excluded automatically!", "sitemap");
?>
</cite>
</div>
<?php
$this->HtmlPrintBoxFooter();
?>
<!-- Change frequencies -->
<?php
$this->HtmlPrintBoxHeader('sm_change_frequencies', __('Change frequencies', 'sitemap'));
?>
<p>
<b><?php
_e('Note', 'sitemap');
?>
:</b>
<?php
_e('Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers consider this information when making decisions, they may crawl pages marked "hourly" less frequently than that, and they may crawl pages marked "yearly" more frequently than that. It is also likely that crawlers will periodically crawl pages marked "never" so that they can handle unexpected changes to those pages.', 'sitemap');
?>
</p>
<ul>
<li>
<label for="sm_cf_home">
<select id="sm_cf_home" name="sm_cf_home"><?php
$this->sg->HtmlGetFreqNames($this->sg->GetOption("cf_home"));
?>
</select>
<?php
_e('Homepage', 'sitemap');
?>
</label>
</li>
<li>
<label for="sm_cf_posts">
<select id="sm_cf_posts" name="sm_cf_posts"><?php
$this->sg->HtmlGetFreqNames($this->sg->GetOption("cf_posts"));
?>
</select>
<?php
_e('Posts', 'sitemap');
?>
</label>
</li>
<li>
<label for="sm_cf_pages">
<select id="sm_cf_pages" name="sm_cf_pages"><?php
$this->sg->HtmlGetFreqNames($this->sg->GetOption("cf_pages"));
?>
</select>
<?php
_e('Static pages', 'sitemap');
?>
</label>
</li>
<li>
<label for="sm_cf_cats">
<select id="sm_cf_cats" name="sm_cf_cats"><?php