Permalink
Browse files

add Social button using Autoga plugin

change language id: data-lang="ja"
Autoga plugin add 'domain' set your domain
  • Loading branch information...
ivywe committed Dec 31, 2015
1 parent 5295543 commit 81f6c0e8e95782d916f3f2f3cfd9098d7ce55b8f
Showing with 17 additions and 0 deletions.
  1. +6 −0 default/featuredstorytext.thtml
  2. +5 −0 default/header.thtml
  3. +6 −0 default/storytext.thtml
@@ -3,6 +3,12 @@
<article itemscope itemtype="http://schema.org/Article" class="<?php if(SEC_inGroup('Root')){ ?>gl-edit <?php } ?>uk-article featuredstorytext">
<header>

<ul class="uk-subnav uk-flex-right uk-margin-remove">
<li><g:plusone href="{site_url}/article.php/{story_id}"></g:plusone></li>
<li><a class="twitter-share-button" data-url="{site_url}/article.php/{story_id}" href="https://twitter.com/intent/tweet?text={story_title}" data-lang="ja">Tweet</a></li>
<li><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2F{!!autotag domain: !!}%2Farticle.php%2F{story_id}&amp;width=150&amp;height=20&amp;colorscheme=light&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;send=true&amp;appId={!!autotag conf:facebook_consumer_key !!}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:20px;" allowTransparency="true"></iframe></li>
</ul>

<h1 itemprop="name" class="uk-article-title uk-margin-remove">{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h1>

<div class="uk-grid">
@@ -13,6 +13,11 @@

<!-- <meta http-equiv="Pragma" content="no-cache"{xhtml}> -->
<link rel="start contents" href="{site_url}"{xhtml}>

<meta name="twitter:image:height" content="400"{xhtml}>
<meta name="twitter:image:width" content="500"{xhtml}>
<meta name="twitter:url" content="<?php echo COM_getCurrentURL(); ?>"{xhtml}>

{feed_url}
{rel_links}
{plg_headercode}
@@ -3,6 +3,12 @@
<article itemscope itemtype="http://schema.org/Article" class="<?php if(SEC_inGroup('Root')){ ?>gl-edit <?php } ?>uk-article">
<header>

<ul class="uk-subnav uk-flex-right uk-margin-remove">
<li><g:plusone href="{site_url}/article.php/{story_id}"></g:plusone></li>
<li><a class="twitter-share-button" data-url="{site_url}/article.php/{story_id}" href="https://twitter.com/intent/tweet?text={story_title}" data-lang="ja">Tweet</a></li>
<li><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2F{!!autotag domain: !!}%2Farticle.php%2F{story_id}&amp;width=150&amp;height=20&amp;colorscheme=light&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;send=true&amp;appId={!!autotag conf:facebook_consumer_key !!}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:20px;" allowTransparency="true"></iframe></li>
</ul>

<h1 itemprop="name" class="uk-article-title uk-margin-remove">{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h1>

<div class="uk-grid">

0 comments on commit 81f6c0e

Please sign in to comment.