[embedyt] shortcode does not exist in ajax side
-
Hello there!
I’m using your plugin to embed youtube videos, but [embedyt]https://[/embedyt] shortcode do not display iframe after ajax call.
Option in admin panel checked as “use ajax” https://prnt.sc/ret4wiI have block with ajax filter after standard the_content on single post page.
https://prnt.sc/ret858On ajax side I tried this code:
echo do_shortcode( get_the_excerpt() ); echo do_shortcode( get_the_content() ); the_content()
All variations return [embedyt] shortcode as static text.
Standard Usage in single.php
shortcode_exists( '[embedyt]' ) //return true
Inside wp_ajax_ and wp_ajax_nopriv_
shortcode_exists( '[embedyt]' ) //return false
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[embedyt] shortcode does not exist in ajax side’ is closed to new replies.