Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Noodle123

    (@noodle123)

    Thanks, you’ve been a big help. I do have one more question though. I don’t have anything that looks like that code. At least I don’t think so.

    This is from my page.php file:

    <?php
    
    /*
     * @template  Mystique
     * @revised   December 20, 2011
     * @author    digitalnature, https://digitalnature.eu
     * @license   GPL, https://www.opensource.org/licenses/gpl-license
     */
    
    // The "page" post type.
    // pagename.php, page-slug.php, page-id.php or page-custom_template can override it.
    
    ?>
    
    <?php atom()->template('header'); ?>
    
    <!-- main content: primary + sidebar(s) -->
    <div id="mask-3" class="clear-block">
      <div id="mask-2">
        <div id="mask-1">
    
          <!-- primary content -->
          <div id="primary-content">
            <div class="blocks clear-block">
    
              <?php atom()->action('before_primary'); ?>
    
              <?php the_post(); ?>
    
              <?php atom()->action('before_post'); ?>
    
              <!-- page content -->
     <div id="post-<?php the_ID(); ?>" <?php post_class('primary'); ?>>
    
                <?php if(!atom()->post->getMeta('hide_title')): ?>
                <h1 class="title"><?php the_title(); ?></h1>
                <?php endif; ?>
    
                <div class="clear-block">
                  <?php the_content(); ?>
                </div>
    
                <?php atom()->post->pagination(); ?>
    
                <?php atom()->controls('post-edit'); ?>
              </div>
              <!-- /page content -->
    
              <?php atom()->action('after_post'); ?>
    
              <?php atom()->template('meta'); ?>
    
              <?php atom()->action('after_primary'); ?>
    
            </div>
          </div>
          <!-- /primary content -->
    
          <?php atom()->template('sidebar'); ?>
    
        </div>
      </div>
    </div>
    <!-- /main content -->
    
    <?php atom()->template('footer'); ?>

    I’m not really sure where I need to put that like of code.

    Thread Starter Noodle123

    (@noodle123)

    Thanks.

    I’m going to try the code option, but forgive me if this is a dumb question, but where’s the loop?

Viewing 2 replies - 1 through 2 (of 2 total)