Help with shortcode
-
Hi, you did a great job with this plugin!!!
I have used the shortcode by calling wordpress function in my custom template page. <?php echo do_shortcode(‘[h5p id=”1″]’); ?>
The iframe is loaded in my page, but is blank.
I have seen the html source code:
<div class="h5p-iframe-wrapper"> <iframe id="h5p-iframe-1" class="h5p-iframe" data-content-id="1" style="height:1px" src="about:blank" frameborder="0" scrolling="no"> </iframe> </div>
The iframe is empty. If I create new dedicated page and I add the shortcode from the WordPress editor, the iframe is loaded correctly.
How can I fix this issue? Help me!!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Help with shortcode’ is closed to new replies.