本文整理汇总了PHP中woo_subscribe_connect函数的典型用法代码示例。如果您正苦于以下问题:PHP woo_subscribe_connect函数的具体用法?PHP woo_subscribe_connect怎么用?PHP woo_subscribe_connect使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了woo_subscribe_connect函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: widget
function widget($args, $instance)
{
$html = '';
extract($args, EXTR_SKIP);
/* Our variables from the widget settings. */
$title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base);
$form = $instance['form'];
$social = $instance['social'];
$single = $instance['single'];
$page = $instance['page'];
/* Determine whether or not to display the widget. */
if (!is_singular() || $single != 'on' && is_single() || $page != 'on' && is_page()) {
/* Before widget (defined by themes). */
echo $before_widget;
/* Widget content. */
// Add actions for plugins/themes to hook onto.
do_action('widget_woo_subscribe_top');
woo_subscribe_connect('true', $title, $form, $social);
// Add actions for plugins/themes to hook onto.
do_action('widget_woo_subscribe_bottom');
/* After widget (defined by themes). */
echo $after_widget;
}
// End IF Statement
}
开发者ID:klgrimley,项目名称:mzf,代码行数:25,代码来源:widget-woo-subscribe.php
示例2: widget
function widget($args, $instance)
{
extract($args);
$title = $instance['title'];
$form = '';
if (array_key_exists('form', $instance)) {
$form = $instance['form'];
}
$social = '';
if (array_key_exists('social', $instance)) {
$social = $instance['social'];
}
$single = '';
if (array_key_exists('single', $instance)) {
$single = $instance['single'];
}
$page = '';
if (array_key_exists('page', $instance)) {
$page = $instance['page'];
}
if (!is_singular() or $single == 'on' and is_single() or $page == 'on' and is_page()) {
?>
<?php
echo $before_widget;
?>
<?php
woo_subscribe_connect('true', $title, $form, $social);
?>
<?php
echo $after_widget;
?>
<?php
}
}
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:35,代码来源:widget-woo-subscribe.php
示例3: widget
function widget($args, $instance)
{
$instance = $this->woo_enforce_defaults($instance);
extract($args, EXTR_SKIP);
extract($instance, EXTR_SKIP);
if (!is_singular() || $single != 'on' && is_single() || $page != 'on' && is_page()) {
?>
<?php
echo $before_widget;
?>
<?php
woo_subscribe_connect('true', $title, $form, $social);
?>
<?php
echo $after_widget;
?>
<?php
}
}
开发者ID:gumbysgoo,项目名称:bestilblomster,代码行数:19,代码来源:widget-woo-subscribe.php
示例4: get_author_posts_url
echo get_author_posts_url(get_the_author_meta('ID'));
?>
">
<?php
printf(__('View all posts by %s <span class="meta-nav">→</span>', 'woothemes'), get_the_author());
?>
</a>
</div><!-- #profile-link -->
</div><!-- .post-entries -->
</aside><!-- .post-author-box -->
<?php
}
?>
<?php
woo_subscribe_connect();
?>
<nav id="post-entries" class="fix">
<div class="nav-prev fl"><?php
previous_post_link('%link', '<span class="meta-nav">←</span> %title');
?>
</div>
<div class="nav-next fr"><?php
next_post_link('%link', '%title <span class="meta-nav">→</span>');
?>
</div>
</nav><!-- #post-entries -->
<?php
// Determine wether or not to display comments here, based on "Theme Options".
if (isset($woo_options['woo_comments']) && in_array($woo_options['woo_comments'], array('post', 'both'))) {
开发者ID:jaiweb,项目名称:ASP,代码行数:31,代码来源:single.php
示例5: woo_subscribe_connect
</ul>
</section>
<?php
}
?>
<div class="contact-social<?php
if (isset($woo_options['woo_contact_panel']) && $woo_options['woo_contact_panel'] == 'true' || isset($woo_options['woo_contact_subscribe_and_connect']) && $woo_options['woo_contact_subscribe_and_connect'] == 'true') {
?>
col-right<?php
}
?>
">
<?php
if (isset($woo_options['woo_contact_subscribe_and_connect']) && $woo_options['woo_contact_subscribe_and_connect'] == 'true') {
woo_subscribe_connect('true');
}
?>
</div>
<div class="clear"></div>
</div><!-- /.location-twitter -->
</section>
<?php
if (isset($hasError) || isset($captchaError)) {
?>
<p class="alert"><?php
开发者ID:klgrimley,项目名称:mzf,代码行数:31,代码来源:template-contact.php
示例6: woo_twitter_script
<?php
if (isset($woo_options['woo_contact_twitter']) && $woo_options['woo_contact_twitter'] != '') {
?>
<section id="twitter">
<h3>Twitter</h3>
<ul id="twitter_update_list_123"><li></li></ul>
<?php
echo woo_twitter_script(123, $woo_options['woo_contact_twitter'], 1);
?>
</section>
<?php
}
?>
<?php
if (isset($woo_options['woo_contact_subscribe_and_connect']) && $woo_options['woo_contact_subscribe_and_connect'] == 'true') {
woo_subscribe_connect('true', $title, 'on', 'off', 'true');
}
?>
</div>
</div><!-- /.location-twitter -->
</section>
<?php
if (isset($woo_options['woo_contactform_map_coords']) && $woo_options['woo_contactform_map_coords'] != '') {
$geocoords = $woo_options['woo_contactform_map_coords'];
} else {
$geocoords = '';
开发者ID:nxtclass,项目名称:NXTClass-themes,代码行数:31,代码来源:template-contact.php
注:本文中的woo_subscribe_connect函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论