Share the post copied link to it without plugins?

Like on YouTube:

59d103af4bdb9524093769.png

How to make this available funds?

Thank you!
June 14th 19 at 20:56
2 answers
June 14th 19 at 20:58
Solution
It seems it's too easy to publish a question here =)

Croce so in WordPress:

<input type="text" value="<?php the_permalink(); ?>">


Seems right To not want )
almost another esc_url need to add - Zoie.OReilly43 commented on June 14th 19 at 21:01
type right?

<input type="text" value="<?php $url = the_permalink(); echo esc_url( $url ); ?>" disabled>
- estefania32 commented on June 14th 19 at 21:04
not
so
<input type="text" value="<?php echo esc_url( get_permalink() ); ?>" disabled>
- Zoie.OReilly43 commented on June 14th 19 at 21:07
and don't tell me how to do that the link was immediately obidina (ready to copy)? - estefania32 commented on June 14th 19 at 21:10
tell me what would? obidina?
it is better to start with this 11book.ru/5-klass/142-russkij-yazyk/1525-russkij-y... - Zoie.OReilly43 commented on June 14th 19 at 21:13
June 14th 19 at 21:00
available means

plug-ins also do in programming languages (current TSS , anyone! :) )

depends on what you need, it is possible for js to takoushi url window.location
and it will show and copy, and anything dopilivat
in WordPress is it possible to bring just a link to the post in the input for example?
with php - Zoie.OReilly43 commented on June 14th 19 at 21:03
In some input box like - estefania32 commented on June 14th 19 at 21:06
of course you can - Zoie.OReilly43 commented on June 14th 19 at 21:09
, thank you.=) - estefania32 commented on June 14th 19 at 21:12
please :) - Zoie.OReilly43 commented on June 14th 19 at 21:15

Find more questions by tags WordPressjQueryPHPHTML