How can I get the post url inside shortcode?
-
I’m using the Facebook comments shortcode in posts, but I want to “curent_url” attribute get the post url by itself.
Something like that:
[wpdevart_facebook_comment curent_url=”GET THE POST URL BY ITSELF” title_text=”Facebook Comment” order_type=”social” title_text_color=”#000000″ title_text_font_size=”22″ title_text_font_famely=”monospace” title_text_position=”left” width=”100%” bg_color=”#d4d4d4″ animation_effect=”random” count_of_comments=”2″ ]
How can I do this?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How can I get the post url inside shortcode?’ is closed to new replies.