I have a simulair problem.
I have altered my page.php file and inserted the $more code before the loop, but after the post is called.
I do get a “read more” link on my page, however, when i click on it, it doesnt work. https://evhoppe.nl/projecten
I cant figure out why it doesnt work. below my page.php:
<?php get_header(); ?>
<div id="container">
<?php if( 'sidebar-content-sidebar' == esplanade_get_option( 'layout' ) ) : ?>
<div class="content-sidebar-wrap">
<?php endif; ?>
<section id="content">
<?php if( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<div class="entry">
<?php if( esplanade_get_option( 'breadcrumbs' ) ) : ?>
<div id="location">
<?php esplanade_breadcrumbs(); ?>
</div><!-- #location -->
<?php endif; ?>
<header class="entry-header">
<<?php esplanade_title_tag( 'post' ); ?> class="entry-title"><?php the_title(); ?></<?php esplanade_title_tag( 'post' ); ?>>
</header><!-- .entry-header -->
<div class="entry-content">
<?php
global $more;
$more = 0;
?>
<?php the_content('Continue Reading'); ?>
<div class="clear"></div>
</div><!-- .entry-content -->
<?php wp_link_pages( array( 'before' => '<footer class="entry-utility"><p class="post-pagination">' . __( 'Pages:', 'esplanade' ), 'after' => '</p></footer><!-- .entry-utility -->' ) ); ?>
</div><!-- .entry -->
<?php comments_template(); ?>
</article><!-- .post -->
<?php else : ?>
<?php esplanade_404(); ?>
<?php endif; ?>
</section><!-- #content -->
<?php if( 'sidebar-content-sidebar' == esplanade_get_option( 'layout' ) ) : ?>
<?php get_sidebar( 'left' ); ?>
</div><!-- #content-sidebar-wrap -->
<?php get_sidebar( 'right' ); ?>
<?php elseif( ( 'no-sidebars' != esplanade_get_option( 'layout' ) ) && ( 'full-width' != esplanade_get_option( 'layout' ) ) ) : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
</div><!-- #container -->
<?php get_footer(); ?>
It would be awesome if i could solve this one!
Cheers, Kees