本文整理汇总了PHP中NewsletterControls::page_themes方法的典型用法代码示例。如果您正苦于以下问题:PHP NewsletterControls::page_themes方法的具体用法?PHP NewsletterControls::page_themes怎么用?PHP NewsletterControls::page_themes使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NewsletterControls
的用法示例。
在下文中一共展示了NewsletterControls::page_themes方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_option
The internal engine of Newsletter Pro sends email with the specified rate to stay under
provider limits. The default value is 100 a very low value. The right value for you
depends on your provider or server capacity.<br />
Some examples. Hostgator: 500. Dreamhost: 100, asking can be raised to 200. Go Daddy: 1000 per day using their SMTP,
unknown per hour rate. Gmail: 500 per day using their SMTP, unknown per hour rate.<br />
My sites are on Hostgator or Linode VPS.<br />
If you have a service with no limits on the number of emails, still PHP have memory and time limits. Newsletter Pro
does it's best to detect those limits and to respect them so it can send out less emails per hour than excepted.
</div>
</td>
</tr>
<tr valign="top">
<th>Newsletter user interaction page</th>
<td>
<?php
$nc->page_themes('theme');
?>
<br />
or specify a blog page address:<br />
WordPress page URL: <?php
$nc->text('url', 70);
?>
(eg. <?php
echo get_option('home') . '/newsletter';
?>
, optional)
<div class="hints">
Newsletter Pro needs to interact with subscribers: subscription form, welcome messages, cancellation messages,
profile editing form. If you want all those interactions within you blog theme, create a WordPress page and put
in its body <strong>only</strong> the short code [newsletter] (as is). Then open that page in your browser and copy the