![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hey experts,
This is what I did. I had a mess in my host so I decide do delete everything from my host and start all over with all my files in one folder (/blogmarinapena). I did a backup of revolution theme and after reinstalling wordpress I just add the same revolution folder to the themes folder. Everything is working fine, but I am rewceiving the following error in one of my posts: Fatal error: Call to undefined function the_content_limit() in /home/content/d/e/s/desquivel/html/blogmarinapena/wp-content/themes/revolution_business-10/home.php on line 281 After making research I found that it might be within the Limit Content plugin that is not active, however I do not see it in the plugins section neither where to download it. Can you point me in the right direction? I donīt know if this is the issue or if I am missing something. Attached is the code for my homepage Thks! Code:
<?php get_header(); ?>
<style type="text/css">
<!--
.style7 {
font-family: "Arial Narrow";
font-size: 18px;
font-weight: bold;
color: #000000;
}
.style8 {
font-family: "Arial Narrow";
font-size: 18px;
color: #000000;
margin-left: 20px;
height: 5px;
}
.style14 {
color: #183152;
font-size: 24px;
}
.style15 {
font-family: "Arial Narrow";
font-size: 24px;
font-weight: bold;
color: 183152;
}
.style17 {
color: #555555;
margin-left: 5px;
font-family: "Arial Narrow";
font-size: 14px;
}
.style19 {
color: #000000;
margin-left: 5px;
font-family: "Arial Narrow";
font-size: 12px;
}
.style22 {color: #000000; margin-left: 5px; font-family: "Arial Narrow"; font-size: 12px; }
.style25 {color: #183152; font-size: 18px; }
.style26 {
font-weight: bold;
font-family: "Arial Narrow";
font-size: 18px;
}
.style27 {font-size: 18px;
}
.style28 {
color: #000000;
font-size: 14px;
}
.style_header {
color: #000000;
font-size: 16px;
}
.style_content {
color: #67666A;
font-size: 12px;
}
.style_link {
color: #000000;
font-size: 10px;
}
-->
</style>
<div id="homepage">
<div id="hpmain_home">
<div class="hpmainleft">
<div class="hpfeaturedbottom">
<div style="padding-top:10px; clear:both;"></div>
<p align="justify" class="style15">Bienvenidos a marinapena.com!</p>
[img]<?php bloginfo('template_url'); ?>/images/marina1.jpg[/img]" width="105" height="128" align="left" />
<p class="main_left_1">Conocer lo que se siente, comprender lo
que se hace y saber lo que se quiere es
el camino para iniciar un proceso de motivación
para un cambio en la vida. Con
una buena actitud, podemos ver en cada
persona, en cada momento, situación y
circunstancia una oportunidad para crecer
y aprender. Viendo las dificultades y la adversidad no como un
problema sino como una oportunidad.
El propósito de este sitio es motivar a las personas a seguir
luchando por encontrar un camino para enfrentar los retos de la
vida con mayor fortaleza, fundamentados en una buena actitud y
bajo el principio del amor.</p>
</div>
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;">
<p style="color:#183152; font-family: Verdana; font-size:16px; text-decoration:blink; text-align:center;">Haga click en su seleccion y conozca consejos sobre cada tema</p>
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
<p align="justify">[img]<?php bloginfo('template_url'); ?>/images/BOTTON1.gif[/img]" width="125" height="50" align="middle" />
<p class="main_left_1">Transtorno de Déficit de Atención. Descubre qué es este trastorno cómo se manifiesta y qué hacer para controlarlo. Mas detalles puedes encontrarlos en las seccion de CEPEF. </p>
</p>
</div>
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;">
<p align="justify">[img]<?php bloginfo('template_url'); ?>/images/rojogif.gif[/img]" width="125" height="50" align="middle" />
<p class="main_left_1">Descubre que son las dificultades de aprendizaje mas comunes y sus implicaciones..</p>
</div>
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;">
<p align="justify">[img]<?php bloginfo('template_url'); ?>/images/naranja.gif[/img]" width="125" height="50" align="middle" />
<p class="main_left_1">Encuentra cuales son las causas de esta conducta y estrategias prácticas de intervención</p>
</div>
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;">
<p align="justify">[img]<?php bloginfo('template_url'); ?>/images/Motivacion.GIF[/img]" width="125" height="50" align="middle" />
<p class="main_left_1">Principios de la motivación. </p>
<p class="main_left_1">¿Cómo despertar la motivación personal y para el aprendizaje.?</p>
</div>
</div>
<div class="hpmainright">
<div style="padding-top:10px; clear:both;"></div>
<p align="center">[img]<?php bloginfo('template_url'); ?>/images/Noticias.gif[/img]" width="371" height="130" align="middle" /></p>
<div class="hpfeaturedtop">
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
<?php $recent = new WP_Query("cat=5&showposts=6"); while($recent->have_posts()) : $recent->the_post();?>
<div style="float:left; margin:0px 10px 50px 0px;">
<a href="<?php the_permalink() ?>" rel="bookmark"></div>
<h2><?php the_title(); ?></h2>
<?php the_content_limit(75, "Leer mas"); ?></span>
<?php endwhile; ?>
</div>
<div class="hpfeaturedtop">
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
<h2 style="font-size:16px; background-color:#006699; color:#E7E2DA; position:inherit">Proximas Conferencias</h2>
<?php $recent = new WP_Query("cat=40 &showposts=6"); while($recent->have_posts()) : $recent->the_post();?>
<div style="float:left; margin:0px 10px 50px 0px;">
<a href="<?php the_permalink() ?>" rel="bookmark"></div>
<h2><?php the_title(); ?></h2>
<?php the_content_limit(75, "Leer mas"); ?></span>
<?php endwhile; ?>
</div>
<div class="hpfeaturedbottom">
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
<div class="hpfeaturedbottom">
<span class="style5 style13"><span class="style17">
<div align="center">
<p class="style25"><span class="style26">Pensamientos...
</p>
<p align="center" class="style7"><span class="style28">“El valor de la vida está en el ahora”</span></p>
<p align="center" class="style8"><span class="style28">El futuro no ha venido y el pasado ya se fue. Vive el presente
que es el hoy y el ahora, consciente de tu pasado y con la esperanza puesta en un mañana mejor</span></p>
<p align="center" class="style8"></p>
<p align="center" class="style8"></p>
<p align="center" class="style8"></p>
</div>
<div class="style27" style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
<div class="style27" style="float:left; margin:0px -0px 0px 0px; width:365px">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(4) ) : else : ?>
<div class="main_left_1"><li id="links"><h2>Enlaces Importantes</h2>
<ul>
<?php wp_list_bookmarks('title_li=&categorize=0&category=41,37&show_images=1&show_description=1&orderby=url'); ?>
[/list]
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<span class="style27">
</div>
<span class="style27">
</span>
<p class="style27">
<?php get_footer(); ?>
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| video embed code showing in Featured section homepage | macsupportcasts | General Discussion | 2 | 09-25-2009 08:44 AM |
| How to hard code another section on home page | ggtrask | General Discussion | 5 | 04-09-2009 03:00 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us