I am running the SuperSkeleton or Superfish theme on this website, and was noticing on my blog that the <!–more–> tag was getting ignored. After several different attempts to correct this, I discovered this thread:
It turns out that this theme lacks an archive.php file and a categories.php file,
So I made the changes to the index.php file within the only “LOOP” area I could locate.
I simply added this code:
<?php global $more; $more = 0; ?>
to this block of code:
<!-- QUERY + START OF THE LOOP --> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php global $more; $more = 0; ?> <?php get_template_part( 'element', 'content' ); ?> <?php endwhile; ?> <?php endif; ?> <!-- /POST LOOP -->
Was this correct, and does the lack of a traditional get_the_content line mean anything?
SO my 2 questions are this:
1. Was this a correct fix? If not, what is the correct fix?
2. Where do I edit the inserted (more…) text to customize it to say something else? The other forum topic about “customizing the Read more tag” does not address these issues since the ‘content’ code seems to be different than other examples.
Thanks in advance for your help! The website is:
- The topic ‘(more…) feature in blog problems: Did I find a buggy workaround or actual fix?’ is closed to new replies.