本文整理汇总了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