Problem with Wordpress theme layout

Discussion in 'WordPress' started by Lavinco, Dec 26, 2008.

  1. #1
    Lavinco, Dec 26, 2008 IP
  2. maddest_lover

    maddest_lover Guest

    Messages:
    1,110
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think the problem is in ur footer.php file n the problem is with the div maybe u have closed div before or u messed with <?php endif; ?>

    I have noticed the problem is in ur archive.php file.
     
    maddest_lover, Dec 27, 2008 IP
  3. Lavinco

    Lavinco Peon

    Messages:
    383
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sounds like you're onto something. I did modify this page because it was encrypted as a woo theme is. I took my source code from the browser to get the html and added the php code (what I thought) should be there.

    Here is the pure code

    
    		<div class="fix"></div>
    
    		<div class="box boxbottom">
    			<div class="top"></div>
    			<div class="spacer">
    
    	<?php
    		
    		$showvideo = get_option('woo_show_video');
    	
    		if($showvideo){ include(TEMPLATEPATH . '/includes/video.php'); }
    				
    	?>
    
                   
    				<div class="col3">
                    					<h3>What People Say About Us</h3>
    					<?php quotescollection_display_randomquote() ?>
    
    			  </div>
                    
    				<div class="fix"></div>
    			</div>
    			<!--/spacer -->
    			<div class="bot"></div>
    		</div>
    		<!--/box -->
    	</div>
    	<!--/columns -->
    
    	<div id="page-bot"></div>	
        
    </div>
    <!--/page -->
    
    <div id="footer">
        <p class="fl">&copy; 2003 - <?php echo date("Y");?>    <a href="http://www.areawebsolutions.com/">Web Solutions</a> | <a href="http://www.areawebsolutions.com">Area Web Solutions</a></p>
        <p class="fr">Secure Protection by 
      <script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=108516446044c3471212711d4c959d7417d86073956731256961450"></script></p>
    
    </div>
    
    
    
    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/jquery-1.2.1.pack.js"></script>
    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/tabs.js"></script>	 
    	<script type="text/javascript" src="wp-content/themes/flashnews/includes/js/jcycle.js"></script>
        <script type="text/javascript">
        $(function() {
        $('.featuredpost').cycle({
        fx:     'fade',
        speed:  'fast',
        timeout: 6000,
        pause:2,
        next:   '#next2',
        prev:   '#prev2'
        });
        });
        </script>
    
    </body>
    </html>
    
    Code (markup):
    Any thoughts
     
    Lavinco, Dec 27, 2008 IP
  4. maddest_lover

    maddest_lover Guest

    Messages:
    1,110
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #4
    See this code of urs:

    <div id="footer">
    <p class="fl">&copy; 2003 - <?php echo date("Y");?> <a href="http://www.areawebsolutions.com/">Web Solutions</a> | <a href="http://www.areawebsolutions.com">Area Web Solutions</a></p>
    <p class="fr">Secure Protection by
    <script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=108516446044c3471212711d4c959d7417d86073956731256961450"></script></p>

    </div>



    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/jquery-1.2.1.pack.js"></script>
    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/tabs.js"></script>
    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/jcycle.js"></script>
    <script type="text/javascript">
    $(function() {
    $('.featuredpost').cycle({
    fx: 'fade',
    speed: 'fast',
    timeout: 6000,
    pause:2,
    next: '#next2',
    prev: '#prev2'
    });
    });
    </script>



    Now I am suggesting u to end the div after the script is ending. I mean to say just try to see the code below:



    <div id="footer">
    <p class="fl">&copy; 2003 - <?php echo date("Y");?> <a href="http://www.areawebsolutions.com/">Web Solutions</a> | <a href="http://www.areawebsolutions.com">Area Web Solutions</a></p>
    <p class="fr">Secure Protection by
    <script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=108516446044c3471212711d4c959d7417d86073956731256961450"></script></p>




    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/jquery-1.2.1.pack.js"></script>
    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/tabs.js"></script>
    <script type="text/javascript" src="wp-content/themes/flashnews/includes/js/jcycle.js"></script>
    <script type="text/javascript">
    $(function() {
    $('.featuredpost').cycle({
    fx: 'fade',
    speed: 'fast',
    timeout: 6000,
    pause:2,
    next: '#next2',
    prev: '#prev2'
    });
    });
    </script>

    </div>
     
    maddest_lover, Dec 28, 2008 IP
  5. Lavinco

    Lavinco Peon

    Messages:
    383
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No luck. I even tried removing the entire <script in the footer with no luck. It's weird because it only effects my category pages.
     
    Lavinco, Dec 28, 2008 IP
  6. indrazz

    indrazz Peon

    Messages:
    187
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    wow lavinco is the expert person on it.. actually I still learn about CSS on blogspot heheh.. :D
     
    indrazz, Dec 29, 2008 IP
  7. Lavinco

    Lavinco Peon

    Messages:
    383
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The one who claims he knows everything is a fool. The one who humbly asks for help when he's stumped, is wise.

    No one, knows everything. We learn from each other, and carry that with us. An expert is one who learns as well as teaches.

    Unless you have something substantial to contribute to this thread, then I suggest you take you and your 13 posts elsewhere or read the TOS that you agreed to before you signed up.

    Warmest regards
     
    Lavinco, Dec 29, 2008 IP