1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I am in need of desperate help!

Discussion in 'Blogging' started by domainloco.net, May 4, 2008.

  1. #1
    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
     
    domainloco.net, May 4, 2008 IP
  2. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #2
    Could you paste the home.php file code here, so that we can check with any problem.
     
    sizzler_chetan, May 4, 2008 IP
  3. domainloco.net

    domainloco.net Notable Member

    Messages:
    3,085
    Likes Received:
    59
    Best Answers:
    1
    Trophy Points:
    225
    #3
    <?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:
     
    domainloco.net, May 4, 2008 IP
  4. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #4
    On line 43:
    <?php the_content_limit(75, "Read more"); ?>

    Try to remove that once and check.
     
    sizzler_chetan, May 4, 2008 IP
    domainloco.net likes this.
  5. skypeace

    skypeace Well-Known Member

    Messages:
    2,348
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Did sizzler_chetan's suggestion help?
     
    skypeace, May 4, 2008 IP
  6. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Are you sure you installed the plugins properly? Make sure you move the limit_post.php into your plugins directory.
     
    mizaks, May 4, 2008 IP
    domainloco.net likes this.
  7. domainloco.net

    domainloco.net Notable Member

    Messages:
    3,085
    Likes Received:
    59
    Best Answers:
    1
    Trophy Points:
    225
    #7
    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
     
    domainloco.net, May 4, 2008 IP
  8. shamus

    shamus Active Member

    Messages:
    1,915
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    90
    #8
    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.
     
    shamus, May 4, 2008 IP
    domainloco.net likes this.
  9. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #9
    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.
     
    sizzler_chetan, May 4, 2008 IP
  10. ServiceCube

    ServiceCube Peon

    Messages:
    340
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Don't know if its fixed yet. But the blog looks cool to me. :)
     
    ServiceCube, May 4, 2008 IP
  11. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #11
    Its not using the theme which had the error actually.
     
    sizzler_chetan, May 4, 2008 IP
  12. domainloco.net

    domainloco.net Notable Member

    Messages:
    3,085
    Likes Received:
    59
    Best Answers:
    1
    Trophy Points:
    225
    #12
    YOU GUYS ARE AWESOME!!!! REP +++++++++++++++++++++++++++++++++ lol
    Thank you so much, that is why I love DP

    Dan
     
    domainloco.net, May 4, 2008 IP