<--wp:group-->
and others, which, for some reason, I can’t paste here.I saw this post https://www.ads-software.com/support/topic/html-block-code-disappearing/ –> however this does not apply to our case because:
define( 'DISALLOW_UNFILTERED_HTML', FALSE );
How can this be fixed?
On another, semi-related note, I noticed block editor code also can’t be pasted into areas that use the Classic editor, like WooCommerce. Is there a reason why? All the block editor tags just disappear.
]]>Since there is not other convenient way, I’m using the native HTML block to add CSS.
There is a plugin, but it was also not working properly.
Anyway, every time I upload a template to edit, the lines are warped in <p> tags and break elements are added.
Why?
Please, fix this. Thank you!
]]>I want to be able to replace all of these instances with code for a new subscribe form.
I just did a quick “dry run” try. I selected wp_posts as the database. I entered the code for the old form in “search” and the new code in “replace”
It came back with zero findings.
Is this possible to do or am I doing something wrong.
Thank you so much. This would save me so much time.
Fingers crossed!
]]><style>
iframe{
width: 100%;
}
</style>
<iframe src="https://savorystrategy.com/frames/add.html" id="Iframe"></iframe>
<script>
// Selecting the iframe element
var frame = document.getElementById("Iframe");
// Adjusting the iframe height onload event
frame.onload = function()
// function execute while load the iframe
{
// set the height of the iframe as
// the height of the iframe content
frame.style.height =
frame.contentWindow.document.body.scrollHeight + 'px';
// set the width of the iframe as the
// width of the iframe content
frame.style.width =
frame.contentWindow.document.body.scrollWidth+'px';
}
</script>
It comes in exactly as I want it to except for the top and bottom margins.
Where in the template code can I change this, or is there another way to do it?
Once I have the solution, I can remove the border on the table and the gray background to clean things up.
]]>I inserted A HTML block in the Header top row.
I wanted specific elements and classes so I inserted in the block HTML as I built it in Guttenberg editor.
The HTML code is:
<div class="wp-container-14 wp-block-group fixed-sub-menus">
<div class="wp-block-group__inner-container">
<div class="wp-container-12 wp-block-group fixed-sub-menu fixed-sub-menu-upper">
<div class="wp-block-group__inner-container">
<div class="wp-container-11 wp-block-columns">
<div class="wp-container-2 wp-block-column left-flex-cell">
<p class="has-nv-site-bg-color has-text-color has-background" style="background-color: #ffffff00;">Lampadas
</div>
<div class="wp-container-10 wp-block-column right-flex-cell">
<div class="wp-container-9 wp-block-columns">
<div class="wp-container-3 wp-block-column">
Led
</div>
<div class="wp-container-4 wp-block-column">
UV
</div>
<div class="wp-container-5 wp-block-column">
Descarga
</div>
<div class="wp-container-6 wp-block-column">
Fluorescentes
</div>
<div class="wp-container-7 wp-block-column">
Infravermelhos
</div>
<div class="wp-container-8 wp-block-column">
<p class="has-nv-site-bg-color has-text-color has-background" style="background-color: #ffffff00;">Convencionais
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wp-container-13 wp-block-group fixed-sub-menu fixed-sub-menu-lower">
<div class="wp-block-group__inner-container"></div>
</div>
</div>
</div>
I added links to all the elements either in the text or visual mode. It publishes the header but it strips out links, i.e. elements.
What I am doing wrong?
Best regards,
iboregua
]]>I look after quite a few WordPress sites and I use Twitter publish (https://publish.twitter.com/) to embed schools’ Twitter feed on their websites, using an HTML block, overnight last night all of my sites were updated to WordPress 5.9.2 but it appears that the Twitter feeds from all the sites using the above methods has broken.
Is there any particular reason for this and is there a workaround to fix this?
I appreciate any help.
Thanks
Tony
Look at this example:
https://i.postimg.cc/NjwVjzkR/Schermata-2022-01-05-alle-16-15-36.png
I have two html blocks, one to open a div (first one), and one to close it (last one).
Everything works perfectly but, when I save the article and open it again, I get this:
https://i.postimg.cc/gjFyHfJD/Schermata-2022-01-05-alle-16-16-05.png
Every single time. Using HTML blocks or shortcodes
Why?
Is there an option to force Gutenberg to ignore, or try not to analyze my HTML code?
This way it’s unusable.
Thanks.
]]>Before reloading:
[tagged_heading heading="h2" text="Lorem ipsum dolor sit amet <mark data-tooltip='tooltip'></mark> sodales dui."]
After reloading:
[tagged_heading heading="h2" text="Lorem ipsum dolor sit amet <mark data-tooltip="tooltip"></mark> sodales dui."]
After updating the page, single quotes are not changed that issue occurs only after reloading or close/open. So after opening that page again, I have to change every double quote to single manually to make my shortcode work after saving otherwise, it will be saved as double quotes…
]]>