Grey Field in WP-Plugin
Submitted by jw42 on Sun, 12/10/2023 - 10:36
Forums:
Hello,
I use the wp-plugin. The problem is that above my h5p-moduls in the frontend a little grey field is set. I have viewed the source code but I haven't found the reason for that little grey field.
Here some examples:
https://byte42.de/schul-angebote/online-aktionstag-internet/persoenlichk...
another example is here:
https://medienpatch.de/fuer-schule/medienscouts-ausbildung/beratung-juuu...
I attached a screenshot with an arrow on that problem.
I hope anyone have an idea to get this grey field away.
Thnx for your ideas,
Jens
otacke
Mon, 12/11/2023 - 23:12
Permalink
Hi, Jens!What you're
Hi, Jens!
What you're experiencing is not H5P, but an empty "code" field that seems to have been put into the HTML of your WordPress page. I assume you copied the shortcode and pasted it including the formatting. You only really need to type [h5p id="yxz"] where yxz is the id of the content, or use Ctrl-Shift-v to paste text without formatting.
Either way, delete that "code" element from your post, and the problem is solved.
Best,
Oliver
jw42
Tue, 12/12/2023 - 22:39
Permalink
Thnx and solved
Thnx Oliver for your answer.
I copy and paste the shortcode [h5p id="yxz"] on the site.
the result is:
<!-- wp:paragraph -->
<p><code>[h5p id="14"]</code></p>
<!-- /wp:paragraph -->
I delete <p><code></code></p>. Then in the code editor is:
<!-- wp:paragraph -->
[h5p id="14"]
<!-- /wp:paragraph -->
And it works. Thnx a lot.
But btw: the gamemap-modul is great.
Thnx Jens
otacke
Tue, 12/12/2023 - 22:49
Permalink
That's what I meant, yes.
That's what I meant, yes. Thumbs up!