当前位置: 首页>>代码示例>>PHP>>正文


PHP ADDTOANY_SHARE_SAVE_KIT函数代码示例

本文整理汇总了PHP中ADDTOANY_SHARE_SAVE_KIT函数的典型用法代码示例。如果您正苦于以下问题:PHP ADDTOANY_SHARE_SAVE_KIT函数的具体用法?PHP ADDTOANY_SHARE_SAVE_KIT怎么用?PHP ADDTOANY_SHARE_SAVE_KIT使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ADDTOANY_SHARE_SAVE_KIT函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: A2A_SHARE_SAVE_shortcode

function A2A_SHARE_SAVE_shortcode($attributes)
{
    extract(shortcode_atts(array('url' => 'something', 'title' => 'something else'), $attributes));
    $linkname = isset($attributes['title']) ? $attributes['title'] : false;
    $linkurl = isset($attributes['url']) ? $attributes['url'] : false;
    $output_later = TRUE;
    return '<div class="addtoany_shortcode">' . ADDTOANY_SHARE_SAVE_KIT(compact('linkname', 'linkurl', 'output_later')) . '</div>';
}
开发者ID:Kieraya,项目名称:lenco-blog,代码行数:8,代码来源:add-to-any.php

示例2: ADDTOANY_SHARE_SAVE_KIT

				<div class="clearfix"></div>
				<br>
				<?php 
    if (function_exists('ADDTOANY_SHARE_SAVE_KIT')) {
        ?>
					<div class="text-center social-share">
						<h3>Compartilhe</h3>
						<br>
						<?php 
        //ADDTOANY_SHARE_SAVE_KIT();
        ?>

						<?php 
        if (function_exists('ADDTOANY_SHARE_SAVE_KIT')) {
            echo '<div class="addtoany_list_container">';
            ADDTOANY_SHARE_SAVE_KIT(array('linkname' => "Acesse Setorial de" . substr($original_post->post_title, 4) . " " . show_text_state_by_uf($uf), 'linkurl' => wp_get_shortlink($original_post->ID)));
            echo '</div>';
        }
        ?>
					</div>
				<?php 
    }
    ?>

				<?php 
    $post = $original_post;
    ?>
			
			
				<div class="clearfix"></div>
				<?php 
开发者ID:CoordCulturaDigital-Minc,项目名称:eleicoescnpc,代码行数:31,代码来源:single-foruns.php

示例3: widget

 /** @see WP_Widget::widget */
 function widget($args = array(), $instance)
 {
     global $A2A_SHARE_SAVE_plugin_url_path;
     $defaults = array('before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '');
     $args = wp_parse_args($args, $defaults);
     extract($args);
     $title = apply_filters('widget_title', $instance['title']);
     echo $before_widget;
     if ($title) {
         echo $before_title . $title . $after_title;
     }
     ADDTOANY_SHARE_SAVE_KIT(array("use_current_page" => TRUE));
     echo $after_widget;
 }
开发者ID:naveenchander1909,项目名称:consult1,代码行数:15,代码来源:addtoany.widget.php

示例4: ADDTOANY_SHARE_SAVE_KIT

        ?>
<div id="citation"><?php 
        echo $citation;
        ?>
</div><div id="empty"></div><?php 
    }
    ?>
	            		
	            		<?php 
    /*$turl = getTinyUrl(get_permalink($post->ID));
    		echo 'TinyURL for this post: <a href="'.$turl.'">'.$turl.'</a><br>'; */
    ?>
										
	            		<?php 
    if (function_exists('ADDTOANY_SHARE_SAVE_KIT')) {
        ADDTOANY_SHARE_SAVE_KIT();
    }
    ?>
</div>
	            <div class="post-meta"><?php 
    the_tags('<p>', ' ', '</p>');
    ?>
</div>
	            
				  </div>
       		<?php 
    comments_template();
    ?>
        	<?php 
}
?>
开发者ID:BlogomaticProject,项目名称:Blogomatic,代码行数:31,代码来源:single.php

示例5: A2A_SHARE_SAVE_shortcode

function A2A_SHARE_SAVE_shortcode($attributes)
{
    extract(shortcode_atts(array('url' => 'something', 'title' => 'something else'), $attributes));
    $linkname = isset($attributes['title']) ? $attributes['title'] : FALSE;
    $linkurl = isset($attributes['url']) ? $attributes['url'] : FALSE;
    $output_later = TRUE;
    return ADDTOANY_SHARE_SAVE_KIT(compact('linkname', 'linkurl', 'output_later'));
}
开发者ID:songsanren,项目名称:My-blog,代码行数:8,代码来源:add-to-any.php

示例6: get_the_author_meta

?>
</h1>
			
			<div class="story-meta">
				<?php 
echo 'By ' . get_the_author_meta('display_name', $post->post_author) . '<br />';
echo the_category(' | ') . ' - ';
echo get_page_count($post->ID) + 1 . ' pages';
?>
			</div>
			<br />
			
			<div class="story-social">
				<?php 
if (function_exists('ADDTOANY_SHARE_SAVE_KIT')) {
    ADDTOANY_SHARE_SAVE_KIT(array('use_current_page' => true));
}
?>
				<?php 
if (function_exists('wpfp_link')) {
    wpfp_link();
}
?>
			</div>
		
		</div>

		<div class="post-content scrollview">
			<?php 
/* display thumbnail if there is one, display default image if error is returned */
if (has_post_thumbnail()) {
开发者ID:ericp2020,项目名称:coauthor,代码行数:31,代码来源:content-story.php

示例7: ca_social_shares

function ca_social_shares()
{
    echo '<section id="social-wrap">';
    if (function_exists('ADDTOANY_SHARE_SAVE_KIT')) {
        ADDTOANY_SHARE_SAVE_KIT();
    }
    echo '</section>';
}
开发者ID:jeanpage,项目名称:ca_learn,代码行数:8,代码来源:functions.php

示例8: pna_social_priorize

function pna_social_priorize($pergunta_id, $pergunta)
{
    if (function_exists('ADDTOANY_SHARE_SAVE_KIT')) {
        echo '<div class="addtoany_list_container">';
        ADDTOANY_SHARE_SAVE_KIT(array('linkname' => $pergunta, 'linkurl' => (is_ssl() ? 'https://' : 'http://') . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']));
        echo '</div>';
    }
}
开发者ID:CoordCulturaDigital-Minc,项目名称:pna,代码行数:8,代码来源:functions.php

示例9: A2A_SHARE_SAVE_shortcode

function A2A_SHARE_SAVE_shortcode($attributes)
{
    extract(shortcode_atts(array('url' => 'something', 'title' => 'something else', 'media' => '', 'buttons' => ''), $attributes));
    $linkname = isset($attributes['title']) ? $attributes['title'] : false;
    $linkurl = isset($attributes['url']) ? $attributes['url'] : false;
    $linkmedia = !empty($attributes['media']) ? $attributes['media'] : false;
    $buttons = !empty($buttons) ? explode(',', $buttons) : array();
    $output_later = true;
    return '<div class="addtoany_shortcode">' . ADDTOANY_SHARE_SAVE_KIT(compact('linkname', 'linkurl', 'linkmedia', 'output_later', 'buttons')) . '</div>';
}
开发者ID:AndyA,项目名称:River,代码行数:10,代码来源:add-to-any.php


注:本文中的ADDTOANY_SHARE_SAVE_KIT函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。