Blocks not showing in WordPress Admin
-
Hi Guys,
Great plugin.
My content is displayed like so.
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <?php the_content(); ?><?php endwhile; ?>
and i have 2 further divs lower down with <?php the_block(‘How we help’); ?> &
<?php the_block(‘Candidates’); ?> in but the blocks aren’t showing in WordPress to add the content?I have this inbetween the i’m not sure if it is causing problems.
<?php wp_nav_menu( array( 'theme_location' => 'sectors', 'menu_class' => false ) ); ?> </div> <div id="homeright" class="wow bounceInRight animated" data-wow-delay="0.2s" style="visibility: visible; -webkit-animation-delay: 0.2s;"><h2>Latest Jobs</h2> <?php echo do_shortcode('[jobs per_page="5" show_filters="false" show_pagination="true"]'); ?> </div> </div> <div id="greyblock"> <div class="container sixteen columns"> <div id="gb1" class="wow bounceInUp animated" data-wow-delay="0.2s" style="visibility: visible; -webkit-animation-delay: 0.2s;"><h2>Latest News</h2> <?php $args = array( 'numberposts' => 3, 'order'=> 'DESC', 'orderby' => 'post_date' ); $postslist = get_posts( $args ); ?> <ul class="clearfix"> <?php foreach ($postslist as $post) : setup_postdata($post);?> <li> <div id="n1"> <?=get_the_post_thumbnail( $recent['ID'], 'news_homepage' ); ?></div> <div id="n2"><a href="<?=get_permalink($recent["ID"]);?>" id="newstitle" title="Read more about <?php the_title(); ?>"><?php the_title(); ?></a><br /><?php the_time('d F') ?></div> </li> <?php endforeach; ?>
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Blocks not showing in WordPress Admin’ is closed to new replies.