Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter tisthammer

    (@tisthammer)

    Figured it out. Somehow my config file had been swapped with another.

    Thread Starter tisthammer

    (@tisthammer)

    But what is root exactly?

    Thread Starter tisthammer

    (@tisthammer)

    They have separate domains so that should not be a problem. Seems like wordpress thinks that I try to access my private page instead of the new one.

    Thread Starter tisthammer

    (@tisthammer)

    I’ve figured it out. You had to change it on the theme options page.

    Thread Starter tisthammer

    (@tisthammer)

    and if i haven’t got the file?

    Thread Starter tisthammer

    (@tisthammer)

    How do I fix it?

    This a file called Single Post (single.php).
    Is this where I’m supposed to insert the share-code? Please show me where:) The last time I altered a php document it all went to hell.

    Thank you.

    <?php get_header(); ?>
    
    <div class="content">
    
    <div id="primary-wrapper">
    	<div id="primary">
    		<div id="notices"></div>
    		<a name="startcontent" id="startcontent"></a>
    
    		<div id="current-content" class="hfeed">
    
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    			<?php k2_navigation('nav-above'); ?> 
    
    			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    				<div class="entry-head">
    					<h1 class="entry-title">
    						<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php k2_permalink_title(); ?>"><?php the_title(); ?></a>
    					</h1>
    
    					<?php /* Edit Link */ edit_post_link( __('Edit','k2_domain'), '<span class="entry-edit">', '</span>' ); ?>
    
    					<div class="entry-meta">
    						<?php k2_entry_meta(1); ?>
    					</div> <!-- .entry-meta -->
    
    					<?php /* K2 Hook */ do_action('template_entry_head'); ?>
    				</div><!-- .entry-head -->
    
    				<div class="entry-content">
    					<?php if ( function_exists('has_post_thumbnail') and has_post_thumbnail() ): ?>
    						<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'medium', array( 'class' => 'alignleft' ) ); ?></a>
    					<?php endif; ?>
    					<?php the_content( sprintf( __('Continue reading \'%s\'', 'k2_domain'), the_title('', '', false) ) ); ?>
    				</div><!-- .entry-content -->
    
    				<div class="entry-foot">
    					<?php wp_link_pages( array('before' => '<div class="entry-pages"><span>' . __('Pages:','k2_domain') . '</span>', 'after' => '</div>' ) ); ?>
    
    					<div class="entry-meta">
    						<?php k2_entry_meta(2); ?>
    					</div><!-- .entry-meta -->
    
    					<?php /* K2 Hook */ do_action('template_entry_foot'); ?>
    				</div><!-- .entry-foot -->
    			</div><!-- #post-ID -->
    
    			<div class="comments">
    				<?php comments_template(); ?>
    			</div><!-- .comments -->
    
    			<?php k2_navigation('nav-below'); ?> 
    
    		<?php endwhile; else: define('K2_NOT_FOUND', true); ?>
    
    			<?php locate_template( array('blocks/k2-404.php'), true ); ?>
    
    		<?php endif; ?>
    
    		</div><!-- #current-content -->
    
    		<div id="dynamic-content"></div>
    	</div><!-- #primary -->
    </div><!-- #primary-wrapper -->
    
    <?php if ( ! get_post_custom_values('sidebarless') ) get_sidebar(); ?>
    
    </div><!-- .content -->
    
    <?php get_footer(); ?>
    Thread Starter tisthammer

    (@tisthammer)

    “Exclude Pages from Navigation” did it. Thank you very much mr. D

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