• I’ve just installed h5p and love all of the great features and different types of content. Within the WP Admin panel, everything seems to work fine. I’m able to create quizzes and even take them.

    The problem occurs when I put the shortcode into my post. Nothing shows up when rendered in Preview or when Published. I’ve attempted to inspect the element and played with different element heights, but nothing happens. I noticed that this plugin utilizes iframes. Could that be the problem?

    Another issue I’ve run into is trying to insert h5p content from the WYSIWYG menu. When I press the add h5p content button, a thin, narrow field appears that only says “Insert interactive content” and a “x” close button. I can’t scroll to my already published quiz, nor can I type anything into it. It just sits there with no option to add content. The only thing I can do is close it.

    I’ve provided a link to the problem page. I’ve password protected it since my site is live and I don’t want the public to have access till it’s resolved. If you need to take a look at the page to look for errors, the PW is: h5p

    Looking forward to your help on this. I really like this plugin and want to be able to use it.

    Best,

    Matty

    Mac
    Wordpress 4.9.8
    Theme: Virtue 3.2.8.1535908776
    Browser: Attempted in Firefox Quantum (64-bit) and Chrome 68.0.3440.106 (Official Build) (64-bit)

    • This topic was modified 6 years, 2 months ago by mmiyamoto715.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mmiyamoto715

    (@mmiyamoto715)

    UPDATE:

    After some playing around, I found a workaround:

    After reading that iframes are deprecated on WordPress due to security reasons, I decided to try utilizing the embed code (iframe and script) within the plugin: Shortcoder. This generated a working shortcode that displays the quiz created. SUPER jazzed that I can use this awesome plugin now.

    While this works for now, I would still like to request a closer look as to why the shortcode generated by the plugin itself does not work.

    Thanks in advance!

    Best,

    Matty

    Plugin Author icc0rz

    (@icc0rz)

    Hi Matty,

    I am sorry to hear you’re having issues and would really like to get to the bottom of what’s going on. Do you still have the H5P shortcode on the page? I could not see any trace of it.

    1) Do you see any HTML elements inserted where the shortcode was? Do you see any errors in the Console? (Ctrl+Shift+J to open in Chrome)

    2) Do you see any errors in the console when trying to insert content in the WYSIWYG?

    I am suspecting that the H5P plugin may be conflicting with another plugin.
    If you want me to have a look you can send me login details to: frode . petterson (at) joubel . com

    Another thing you could try is to enable the WP debugging through wp-config.php:

    define('WP_DEBUG', true);
    error_reporting(E_ERROR | E_WARNING | E_PARSE);

    This should print the errors directly on the page if there’s something wrong.

    Plugin Author icc0rz

    (@icc0rz)

    Did you manage to resolve the issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcodes are not displaying anything on the page.’ is closed to new replies.