Archived
FB og Twitter-buttons
This commit is contained in:
1 parent
7ff4c8791e
commit
13eb63c8b2
3 files changed
+6
-6
No files matched your search
@@ -10,8 +10,8 @@
|
||||
</section> <!-- end article section -->
|
||||
<footer class="article-footer">
|
||||
<?php if(!is_page()) { ?>
|
||||
<a href="" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
||||
<a href="" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
||||
<a target="_blank" onclick="return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink() ?>" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
||||
<a target="_blank" onclick="return !window.open(this.href, 'Twitter', 'width=640,height=300')" href="https://twitter.com/share?url=<?php the_permalink() ?>&text=<?php the_title(); ?>" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
||||
<?php } ?>
|
||||
</footer> <!-- end article footer -->
|
||||
</article> <!-- end article -->
|
||||
@@ -11,7 +11,7 @@
|
||||
<?php the_excerpt(); ?>
|
||||
</section> <!-- end article section -->
|
||||
<footer class="article-footer">
|
||||
<a href="" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
||||
<a href="" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
||||
<a target="_blank" onclick="return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink() ?>" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
||||
<a target="_blank" onclick="return !window.open(this.href, 'Twitter', 'width=640,height=300')" href="https://twitter.com/share?url=<?php the_permalink() ?>&text=<?php the_title(); ?>" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
||||
</footer> <!-- end article footer -->
|
||||
</article> <!-- end article -->
|
||||
@@ -12,8 +12,8 @@
|
||||
<?php the_excerpt(); ?>
|
||||
</section> <!-- end article section -->
|
||||
<footer class="article-footer">
|
||||
<a href="" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
||||
<a href="" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
||||
<a target="_blank" onclick="return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink() ?>" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
||||
<a target="_blank" onclick="return !window.open(this.href, 'Twitter', 'width=640,height=300')" href="https://twitter.com/share?url=<?php the_permalink() ?>&text=<?php the_title(); ?>" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
||||
</footer> <!-- end article footer -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user