Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter TheBarfly

    (@thebarfly)

    it is not in there.

    <?php
    /**
     * Page Template
     *
     * @package Mysitemyway
     * @subpackage Template
     */
    global $mysite;
    get_header(); ?>
    
    <?php if( isset( $mysite->is_blog ) ) : ?>
    
    	<?php get_template_part( 'loop', 'index' ); ?>
    
    <?php else : ?>
    
    	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    
    		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    			<?php mysite_before_entry(); ?>
    
    			<div class="entry">
    				<?php the_content(); ?>
    
    				<div class="clearboth"></div>
    
    				<?php wp_link_pages( array( 'before' => '<div class="page_link">' . __( 'Pages:', MYSITE_TEXTDOMAIN ), 'after' => '</div>' ) ); ?>
    				<?php edit_post_link( __( 'Edit', MYSITE_TEXTDOMAIN ), '<div class="edit_link">', '</div>' ); ?>
    
    				</div><!-- .entry -->
    
    			<?php mysite_after_entry(); ?>
    
    		</div><!-- #post-## -->
    
    		<?php if( !mysite_get_setting( 'disable_page_comments' ) ) comments_template( '', true ); ?>
    
    	<?php endwhile; ?>
    
    <?php endif; ?>
    
    	<?php mysite_after_page_content(); ?>
    
    		<div class="clearboth"></div>
    	</div><!-- #main_inner -->
    </div><!-- #main -->
    
    <?php get_footer(); ?>
    Thread Starter TheBarfly

    (@thebarfly)

    But that is the point. I don’t want the sidebar.
    I use the elegance theme from mysitemyway.
    I did copy in my theme-dir, the single.php into single-event.php and i left the page settings on posts instead of pages as described in the small explenation.

Viewing 2 replies - 16 through 17 (of 17 total)