S
S
sergiocharm2020-04-27 20:59:51
WordPress
sergiocharm, 2020-04-27 20:59:51

Link to an article?

Guys, please tell me how to refer to an article
, for example, a link to page 1 of the comments, it has an announcement. https
://allremont59.ru/inzhenerka/santehnika/raspr... https://allremont59.ru/inzhenerka/santehnika/raspr... I put get_permalink() displays the page link ( https://allremont59.ru/inzhenerka/santehnika/raspr... thanks!



Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-04-27
@sergiocharm

https://wp-kama.ru/function/get_permalink
If no arguments are passed to the method, then it will receive a link to the current record.
And if a specific argument is specified (for example, post id), then get a link to the post with the specified id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question