Perplexing challenge
-
Hi,
I have Church theme.
This code:<?php $recent = new WP_Query("cat=3&showposts=4"); while($recent->have_posts()) : $recent->the_post();?> <a href="<?php the_permalink() ?>" rel="bookmark"> <?php the_title(); ?> </a> <?php the_content_limit(80, "Read More"); ?> <?php endwhile; ?>
Works perfectly on all pages and homepage, except for my posts pages.
On my Posts pages, it shows all the text from a post, as if the content limit wasn’t working. I can’t find which page to fix this. I’ve added the above code to all .php pages in the theme that it could possibly be.
Anyone??
Thank you for your time!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Perplexing challenge’ is closed to new replies.