Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

david221 on "Multiple Content Blocks not showing up"

$
0
0

I figured it out.

The blocks had to be referred to a template page. For example:

get_header();
st_before_content($columns='');
get_template_part( 'loop', 'page' );
st_after_content();

get_the_block('Block Name');
?>

<div class="pageStretch" id="company">
<div class="container sixteen columns">
<?php the_block('Block Name'); ?>
</div>
</div>

I also had to careful refer to the hook commands to make the content blocks appear on the editing page.

Thank...;/


Viewing all articles
Browse latest Browse all 26892

Trending Articles