Ver Mensaje Individual
  #13 (permalink)  
Antiguo 11/04/2013, 11:42
Avatar de el_tigre
el_tigre
 
Fecha de Ingreso: febrero-2006
Ubicación: Perú
Mensajes: 1.044
Antigüedad: 18 años, 3 meses
Puntos: 8
Respuesta: no ingresa al panel de Administración

El código de la línea 170 lo expandí....y ahora el error aparece en el 174

esto es el código
Código PHP:
/* Original Plugin URI: http://labitacora.net/comunBlog/limit-post.phps Usage: the_content_limit($max_charaters, $more_link) */function the_content_limit($max_char$more_link_text '(more...)'$stripteaser 0$more_file '') { 
$content get_the_content($more_link_text$stripteaser$more_file); 
$content apply_filters('the_content'$content); 
$content str_replace(']]>'']]>'$content); 
$content strip_tags($content); if (strlen($_GET['p'])>0){ 
echo 
"<p>"; echo $content; echo "..."
echo 
"&nbsp;<a href='"the_permalink(); 
echo 
"'>".$more_link_text."</a>"
echo 
"</p>"; } else if ((strlen($content)>$max_char) && ($espacio strpos($content" "$max_char ))) { 
$content substr($content0$espacio); 
$content $content; echo "<p>"; echo 
$content; echo "..."; echo "&nbsp;<a href='"the_permalink(); echo "'>Leer Más</a>"; echo "</p>"; } else { echo "<p>"; echo $content; echo "..."; echo "&nbsp;<a href='"the_permalink(); echo "'>Leer Más</a>"; echo "</p>"; } } 
exáctamente la línea 174 es esto

Código PHP:
$content strip_tags($content); if (strlen($_GET['p'])>0){