Genesis Block missing content from block file
-
Hi,
I’m currently setting up a page where I use custom blocks
One block that I setup looks like this:
<section class="rk-section"> <svg version="1.1" viewBox="0 0 1920 85" class="rk-wave"> <path d="M1920.7,35.9c0,0-759.7-78.2-1286.4,13.4C131.4,136.8,0.7,35.9,0.7,35.9L0.8,0h1919.9V35.9z"/> </svg> <?php block_field( 'rk-section-content' ); ?> </section>and it is displayed corrently on the website as well.
But for the an other block which looks like that:
<div class="rk-div-heart"> <svg version="1.1" viewBox="0 0 1920 85" class="rk-wave"> <path d="M1920.7,35.9c0,0-759.7-78.2-1286.4,13.4C131.4,136.8,0.7,35.9,0.7,35.9L0.8,0h1919.9V35.9z"/> </svg> <?php block_field( 'rk-heart-content' ); ?> </div>The website actually skips the svg part entirely, just pulling in the content.
Both blocks are identical in their data and php setup (just some changes in the styling).
Is there something that I’m missing to have it work properly?The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Genesis Block missing content from block file’ is closed to new replies.