Adding a widget area between navigation and blog post
-
Hi! I’m working with ComicEasel and X Theme on a friend’s website. At the moment, I’m trying to insert a widget area in between her comic’s navigation and the blog.
When I choose auto insert above the content, it puts the widget area below the Author and date of the blog post. Here’s my single.php that I’m working with:
<?php // ============================================================================= // VIEWS/RENEW/WP-SINGLE.PHP // ----------------------------------------------------------------------------- // Single post output for Renew. // ============================================================================= $fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true ); ?> <?php get_header(); ?> <div class="x-container max width offset"> <?php do_action('comic-area'); ?> <div class="<?php x_main_content_class(); ?>" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php x_get_view( 'renew', 'content', get_post_format() ); ?> <?php x_get_view( 'global', '_comments-template' ); ?> <?php endwhile; ?> </div> <?php if ( $fullwidth != 'on' ) : ?> <?php get_sidebar(); ?> <?php endif; ?> </div> <?php get_footer(); ?>
The comic-area includes the navigation I’m trying to work under.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding a widget area between navigation and blog post’ is closed to new replies.