Hello, I bought the appraised Revolution theme thinking it was the all inclusive solution for my business. And now its almost 5am here and I still can't figure out what I am doing wrong. There is this message on the front page: Fatal error: Call to undefined function the_content_limit() in /home2/guardfin/public_html/wp-content/themes/revolution_business-10/home.php on line 43 and I went to their forums and it says to upload the plugins, which I did and they are not showing up on my Admin... Please someone help me!!! The site is the Second link on my signature Anything helps. Dan
<?php get_header(); ?> <div id="homepage"> <div id="hpmain"> <div class="hpmainleft"> <h1>Welcome to our Site</h1> <img src="<?php bloginfo('template_url'); ?>/images/hp-main.jpg" alt="<?php bloginfo('name'); ?>" /> <!--Replace the # below with the actual URL of your about page.--> <p>Welcome to the our website - I am glad you are here, and hope you come back often. Feel free to surf around and read more about the products and services that we offer. There are many things about us that you probably will find interesting. <a href="#" >Read more about us</a></p> <p style="padding:10px 0px 10px 0px;"><b>Here are a few of the services we offer:</b></p> <ul> <li>Budget proposals based on preliminary information</li> <li>Engineering and architectural design and drawings</li> <li>Construction management throughout the entire project</li> <li>Substantial completion and thourough inspection</li> </ul> </div> <div class="hpmainright"> <!--This section is where the custom images are found for the homepage right column - note the custom field name for this image is "homepage". Recommended image size is 82x55, as the stylesheet is written for this size.--> <div class="hpfeaturedtop"> <!--Replace cat=1 with the Category ID you want to display in this section.--> <h3>Company News</h3> <?php $recent = new WP_Query("cat=1&showposts=3"); while($recent->have_posts()) : $recent->the_post();?> <div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div> <div style="float:left; margin:0px 10px 5px 0px;"> <a href="<?php the_permalink() ?>" rel="bookmark"><img style="padding:5px 0px 2px 0px;" src="<?php echo get_post_meta($post->ID, "homepage", true); ?>" alt="<?php echo get_post_meta($post->ID, "Theme Name", true); ?> Thumbnail" /></a> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php the_content_limit(75, "Read more"); ?> <?php endwhile; ?> </div> <div class="hpfeaturedbottom"> <!--Replace cat=1 with the Category ID you want to display in this section.--> <h3>Business News</h3> <?php $recent = new WP_Query("cat=1&showposts=2"); while($recent->have_posts()) : $recent->the_post();?> <div style="padding: 10px 0px 0px 0px;border-top: 1px dotted #C0C0C0;"></div> <div style="float:left; margin:0px 10px 5px 0px;"> <a href="<?php the_permalink() ?>" rel="bookmark"><img style="padding:5px 0px 2px 0px;" src="<?php echo get_post_meta($post->ID, "homepage", true); ?>" alt="<?php echo get_post_meta($post->ID, "Theme Name", true); ?> Thumbnail" /></a> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php the_content_limit(75, "Read more"); ?> <div style="clear:both;"></div> <?php endwhile; ?> </div> </div> </div> </div> <!-- The main column ends --> <?php get_footer(); ?> PHP:
Are you sure you installed the plugins properly? Make sure you move the limit_post.php into your plugins directory.
okay I am going to try that. Thanks Just got to it... will post when I finish uploading. I am kind of a newb at this stuff so I don't know if I did upload all the plugins. The part I still don't get is why they ask you to upload them if the plugins are already in the /plugin files?? I'm so confused... lol
I think I may know what's up - the plugins for the Revolution theme come with the theme, but you need to take them out of the /wp-content/themes/revolution_theme/plugins/ folder and move them to your /wp-content/plugins folder. Then they will show up on your plugins menu. Then of course activate, and viola! If you need any help, just shoot me a PM.
Oh didnt notice that your plugins were still in the themes folder. shamus has given the correct answer, you should move them to the actual plugins folder and active them.
YOU GUYS ARE AWESOME!!!! REP +++++++++++++++++++++++++++++++++ lol Thank you so much, that is why I love DP Dan