V
V
vintalis2020-06-25 11:38:11
WordPress
vintalis, 2020-06-25 11:38:11

How to implement share buttons on WordpRess?

I made a site, now I'm pulling on WP, how to correctly implement the button to share (Share) a post.
Here

screen
5ef4625369ccb577439621.png

Probably a plugin

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Litvinenko, 2020-06-25
@vintalis

It can be a plugin.
You can manually, look for the implementation of the link to fumble for a particular service and paste
Here is an example, this is the code from the single page:

<div class="single-share">
  <a href="https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>" target="_blank">
    <?php __('Поделиться в Facebook') ?>
  </a>
  <a href="https://twitter.com/home?status=<?php the_permalink(); ?>" target="_blank">
    <?php __('Поделиться в Twitter') ?>
  </a>
  <a href="https://telegram.me/share/url?url=<?php the_permalink(); ?>&text=<?php the_title() ?>" target="_blank">
    <?php __('Поделиться в Telegram') ?>
  </a>
</div>

E
Eugene, 2020-06-25
@iamd503

https://yandex.ru/dev/share/
https://ilyabirman.ru/projects/likely/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question