Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zombiesinlondon

    (@zombiesinlondon)

    Fantastic! That did it! Thank you!

    Thread Starter zombiesinlondon

    (@zombiesinlondon)

    Bam, done and done! You’re the best!

    Thread Starter zombiesinlondon

    (@zombiesinlondon)

    Hi Frumph! Once again, you’re awesome for responding so quickly!

    Here’s the content.php file:

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/CONTENT.PHP
    // -----------------------------------------------------------------------------
    // Standard post output for Renew.
    // =============================================================================
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <div class="entry-wrap">
        <?php x_get_view( 'renew', '_content', 'post-header' ); ?>
        <?php if ( has_post_thumbnail() ) : ?>
          <div class="entry-featured">
            <?php x_featured_image(); ?>
          </div>
        <?php endif; ?>
        <?php x_get_view( 'global', '_content' ); ?>
      </div>
    </article>
    Thread Starter zombiesinlondon

    (@zombiesinlondon)

    Here’s what the single.php code looks like, just trying to figure out where to put the <?php do_action('comic-area'); ?>. Putting it at the very top of this document makes the comic and the navigation show up below the featured image (so the comic page displays twice).

    <?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">
        <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(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)