* BashuBowri * VOLThor6 How to use xt: URL code inside twig file
2020-05-04 03:55 · (0)
* BashuBowri * BashuBowri I want to use below code in blog twig.
<div class="fb-comments" data-href="http://bashubowri.in" data-numposts="20" data-width=""></div>
Copy code


So how can I modify this code to get current URL in place of "http://BashuBowri.in".
2020-05-04 04:01 · (0)
* BashuBowri * Graham I want to get current URL path in place of "http://example.com/index" in the following code to use it in twig template. Help me plz.
<div class="fb-comments" data-href="http://example.com/index" data-numposts="20" data-width=""></div>
Copy code
2020-05-04 04:29 · (0)
* VOLThor6 * BashuBowri I think you can achieve that with the Xt URL tag. Go here for the full documentation.

EDIT:
To use it inside the twig file You would need to assign the Xt URL to a variable and print the blog through Xt Script.
2020-05-04 06:45 (edited 2020-05-04 07:11 by VOLThor6 ) · (0)
* BashuBowri * VOLThor6 How do I move my xtgem site from http to Https ?
2020-05-19 06:34 · (0)

Online: Guests: 1