3298 |
efrain |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
$this->headMeta()->appendName('og:url', "$share_url");
|
|
|
4 |
$this->headMeta()->appendName('og:title', "$share_title");
|
|
|
5 |
$this->headMeta()->appendName('og:description', "$share_description");
|
|
|
6 |
$this->headMeta()->appendName('og:image', "$share_image");
|
|
|
7 |
|
|
|
8 |
?>
|
|
|
9 |
|
3333 |
efrain |
10 |
<a href="<?php echo $share_url ?>">
|
|
|
11 |
<img src="<?php echo $share_image ?>" style="width: 200px; height: auto"/>
|
|
|
12 |
</a>
|
3334 |
efrain |
13 |
|
|
|
14 |
|
3347 |
efrain |
15 |
<br/>
|
|
|
16 |
<div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button_count" data-size="small"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&src=sdkpreparse" class="fb-xfbml-parse-ignore">Compartir</a></div>
|