Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/11/2010, 08:19
Avatar de JOSANCIN
JOSANCIN
 
Fecha de Ingreso: septiembre-2008
Ubicación: huesca
Mensajes: 298
Antigüedad: 15 años, 7 meses
Puntos: 0
Respuesta: limitacion de caracteres al escribir posts

perdona que te moleste, te cuento, he visto que en mi theme (twentyten) la funcion the content esta en el archivo single.php y no en index.php, dentro del theme en index.php solo tengo:

<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/

get_header(); ?>

<div id="container">
<div id="content" role="main">

<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( 'loop', 'index' );
?>
</div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>


he intentado hacerlo con single.php, es decir, poner la funcion que me has pasado en functions.php y hacer lo que ponia , es decir, reemplazar the_content con the_content_limit(1000, "more") pero nada, ¿se te ocurre porque en mi archivo index.php no sale the_content?
muchas gracias y que vaya bien