Title: limit post size?
Last modified: August 19, 2016

---

# limit post size?

 *  Resolved [thispcneedshelp](https://wordpress.org/support/users/thispcneedshelp/)
 * (@thispcneedshelp)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/)
 * Here is what I’m looking to do. I have a customer template that is mainly a full
   background. The CSS places everything where I need it. Now since being fixed 
   I don’t want a long post running over the template. Is there a way to put “<previous
   2 3 4 next>” when a page, post or blog gets to many lines? Possibly a plugin?
 *  I would like to set it by pixels as word count varies and lines would be nice
   as long as no picture is used or video. That’s why pixels would be nice.
 * Thanks.

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

 *  [Abhishek Jain](https://wordpress.org/support/users/wrool/)
 * (@wrool)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/#post-2051065)
 * what you can do is add a read more link to your post refer this [http://codex.wordpress.org/Customizing_the_Read_More](http://codex.wordpress.org/Customizing_the_Read_More)
 * and for pages you can use this plugin [http://wordpress.org/extend/plugins/wp-pagenavi/](http://wordpress.org/extend/plugins/wp-pagenavi/)
 *  Thread Starter [thispcneedshelp](https://wordpress.org/support/users/thispcneedshelp/)
 * (@thispcneedshelp)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/#post-2051181)
 * i know about the read more. i want to make it idiot proof is what i need to do.
   so when the client types up a story it will make it only fit in such amount of
   space and if it goes over the readmore a second or third time it will add another
   read more.
 * Know what i’m saying? i don’t want their story to over extend the template area.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/#post-2051184)
 * 1. Ensure that the_content is inside it’s own div with a suitable unique class
   name
 * 2. Suppress the standard read more link by using `<?php the_content('', false,'');?
   >`
 * 3. Using CSS, give the post content a fixed height with the overflow set to hidden.
 * 4. Insert the read more link after the post content div using something like `
   <?php if( !is_single() ) :?><li class="more-link"><a href="<?php the_permalink();?
   >#more-<?php echo $post->ID;?>"><?php _e('Read more');the_title();?></a></li>
   <?php endif;?>`
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/#post-2051187)
 * You are trying to tackle a very complicated problem. I work with a designer who
   likes to put text in very small spaces, so I sympathize.
 * I am not aware of any way to restrict size by pixel except via some complicated
   Javascript. The best I’ve been able to do thus far, without Javascript, is to
   truncate the post by character count, but you have strip the markup and shortcodes(
   conditionally) first and put them later if you want to preserve them.
 * Some of [these links](http://www.google.com/search?q=wordpress+post+paginatio)
   might help you.
 *  Thread Starter [thispcneedshelp](https://wordpress.org/support/users/thispcneedshelp/)
 * (@thispcneedshelp)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/#post-2051192)
 * just found this. works AWESOME
 * [http://www.simonwheatley.co.uk/wordpress/autopaginate/](http://www.simonwheatley.co.uk/wordpress/autopaginate/)

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

The topic ‘limit post size?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [thispcneedshelp](https://wordpress.org/support/users/thispcneedshelp/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/limit-post-size/#post-2051192)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
