so im trying to get rid of the "continue reading" crap on this page http://www.haddadrc.com/category/personal-pictures and to show the entire post rather then have the user click on continue reading, how do i go about this, anyone please, thanks
In Edit box go to html view and remove <-more->. Come to Visual Mode and see that continue reading is removed. Hope this will help
there is no <-more-> tag, i checked, this has to be done through the template index.php i think, grrrr cant figure this out
The link that you provided is pulling the content from the category template. You will need to go into the theme editor and remove the code that looks like this <?php the_content('Continue Reading'); ?> Code (markup):
You will need to edit 3 or 4 files, if you want to get rid of them all. Take a look at these files in the template folder. Index Category Archive Open them up with some kind of text editor like PsPad or notepad. And just like dusward said, look for <?php the_content('Continue Reading'); ?> and delete that line of code. Be sure to have a backup of all of your files.
here is what my index looks like <?php get_header(); ?> <div id="main_content"> <!-- first loop for featured article --> <?php $my_query = new WP_Query('cat='.get_option('gridlock_featured_cat').'&showposts=1'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = array(); $do_not_duplicate[1] = $post->ID; // get one post from the "Features" category ?> <h3 class="subhead"><?php echo(stripslashes(get_option('gridlock_currentfeature_caption'))); ?></h3> <!-- get title --> <h2 id="headline"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </h2> <!-- post content --> <?php the_content('<em><strong>continue reading... »</strong></em>'); ?> <h4 class="comment">posted <?php the_time('j F Y'); ?> @ <?php the_time('G:i'); ?> by <?php the_author() ?> » <?php comments_popup_link('0 Comments', 'One Comment', '% Comments', '', 'Comments Locked'); ?> </h4> <!-- end first loop --> <?php endwhile; ?> <!-- begin second feature loop --> <?php query_posts('cat='.get_option('gridlock_featured_cat').'&showposts=2'); ?> <?php while (have_posts()) : the_post(); if($post->ID == $do_not_duplicate[1]) continue; $do_not_duplicate[2] = $post->ID; /* if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; */ ?> <div class="substory_frame"> <div class="substory" id="left"> <h3 class="substory_subhead"><?php echo(stripslashes(get_option('gridlock_pastfeature_caption'))); ?></h3> <h3 class="substory_head"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <?php the_excerpt(); ?> <h4 class="substory_comment"><?php the_time('j F Y'); ?> » <a href="<?php the_permalink(); ?>">read</a> » <?php comments_popup_link('0 Comments', 'One Comment', '% Comments', '', 'Comments Locked'); ?></h4> </div> <?php endwhile;?> <div class="substory" id="right"> <?php if(get_option('gridlock_use_secondary') == 'true') { query_posts('cat='.get_option('gridlock_secondary_cat').'&showposts=1'); } else { rewind_posts(); query_posts('cat='.get_option('gridlock_featured_cat').'&showposts=3'); } while (have_posts()) : the_post(); ?> <?php if(get_option('gridlock_use_secondary') != 'true') { if($post->ID == $do_not_duplicate[1] || $post->ID == $do_not_duplicate[2]) continue; $do_not_duplicate[3] = $post->ID; } ?> <h3 class="substory_subhead"><?php echo(stripslashes(get_option('gridlock_secondary_caption'))); ?></h3> <h3 class="substory_head"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <?php the_excerpt(); ?> <h4 class="substory_comment"><?php the_time('j F Y'); ?> » <a href="<?php the_permalink(); ?>">read</a> » <?php comments_popup_link('0 Comments', 'One Comment', '% Comments', '', 'Comments Locked'); ?></h4> <?php endwhile; $do_not_duplicate = array(); ?> </div> </div> <div id="linkblog"> <?php if(get_option('gridlock_delicious_username') != '') { ?> <h3 class="substory_subhead"><?php echo(stripslashes(get_option('gridlock_delicious_caption'))); ?></h3> <h4 class="linkblog_caption">from <a href="http://del.icio.us/<?php echo(get_option('gridlock_delicious_username')); ?>">del.icio.us</a> <a href="http://del.icio.us/rss/<?php echo(get_option('gridlock_delicious_username')); ?>" title="RSS 2.0" class="linkblog_rss_link"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/feed_small.gif" alt="RSS 2.0 Feed" title="RSS Feed" class="tinyfeed" /></a></h4> <script type="text/javascript" src="http://del.icio.us/feeds/js/<?php echo(get_option('gridlock_delicious_username')); ?>?extended;count=5"></script> <?php } ?> </div> <!-- close the main content div --> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> PHP:
This is probably the part you need to edit. <!-- post content --> <?php the_content('<em><strong>continue reading... »</strong></em>'); ?> Code (markup): Just remove the <em><strong>continue reading... »</strong></em> Code (markup): When your finished, it should look something like <?php the_content(''); ?> Give that a try and see what happens. Be sure to have a backup of your files, just incase something goes wrong.
Go on the main index template and remove this line: <?php the_content('Continue Reading'); ?> Code (markup): And it's the index.php inside your themes folder So you'd go on wp-content/'your-theme'/index.php
nope didnt work guys, the thing is, when you roll over the left categories, the link it opens is http://www.haddadrc.com/category/personal-pictures with the category in the middle of the link, and once your in the page, it asks to click continue reading.. and that link takes you to http://www.haddadrc.com/my-personal-pictures.html which you can see, the category directory is missing and the actual page with .html loads, so there must be another file to edit im assuming??? gosh i hate wordpress at times
If you want to remove the "read-more" only from the category's pages, so you will need to do exactly like what ~kev~'s wrote: <em><strong>continue reading... »</strong></em> Code (markup): BUT, instead to edit the index.php, try to edit your archives.php. You could show us your archives.php (or archive.php) in this thread for more help.