Adds copy URL link to single items metadata list #9.

This commit is contained in:
mateuswetah 2020-06-16 14:44:22 -03:00
parent 73f98d8f30
commit b0798164c8
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@
<img src="<?php echo get_template_directory_uri() . '/assets/images/telegram-circle.png'; ?>" alt="<?php esc_attr_e('Share this on Telegram', 'tainacan-interface') ?>">
</a>
<?php endif; ?>
<button onclick="copyTextToClipboard('<?php the_permalink(); ?>')" title="<?php esc_attr_e('Copy link', 'tainacan-interface') ?>" class="item-card-link--sharing tainacan-copy-link-button">
<img src="<?php echo get_template_directory_uri() . '/assets/images/url-circle.png'; ?>" alt="<?php esc_attr_e('Copy link', 'tainacan-interface') ?>">
</button>
</div>
</div>
</div>