SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with re arranging WP home page

    Hi guys,

    Here is my page:

    http://www.yourvancouvermortgagebroker.ca/

    I am trying to move the three service boxes (rates, broker vs bank, apply) to the bottom of the page, below the <about me> and sidebar section. Here is the code in the home.php but I have not been able to figure it out... Any thoughts? Thanks as always. Here is home.php

    Code:
    <?php get_header(); ?>
    <?php if (is_front_page() && get_option('minimal_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php');?>
    <?php if (get_option('minimal_services') == 'on') { ?>
    	<?php if (get_option('minimal_featured') == 'false') { ?>
    
    		<div id="services_bg">
    	<?php }; ?>
    			<div id="services" class="clearfix">
    						
    				<div class="one-third first">
    					<?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('minimal_service_1')))); while (have_posts()) : the_post(); ?>
    						<?php include(TEMPLATEPATH . '/includes/service_content.php'); ?>
    					<?php endwhile; wp_reset_query(); ?>
    				</div> <!-- end .one-third -->
    				
    				<div class="one-third">
    					<?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('minimal_service_2')))); while (have_posts()) : the_post(); ?>
    						<?php include(TEMPLATEPATH . '/includes/service_content.php'); ?>
    					<?php endwhile; wp_reset_query(); ?>
    				</div> <!-- end .one-third -->
    				
    				<div class="one-third">
    					<?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('minimal_service_3')))); while (have_posts()) : the_post(); ?>
    						<?php include(TEMPLATEPATH . '/includes/service_content.php'); ?>
    					<?php endwhile; wp_reset_query(); ?>
    				</div> <!-- end .one-third -->
    				
    			</div> <!-- end #services -->
    	<?php if (get_option('minimal_featured') == 'false') { ?>
    		</div> <!-- end #services_bg -->
    	<?php }; ?>		
    <?php }; ?>
    
    <?php include(TEMPLATEPATH . '/includes/default.php'); ?>
    
    <?php get_footer(); ?>

  2. #2
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are the theme's options and widgets on home page?
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  3. #3
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by snecz View Post
    What are the theme's options and widgets on home page?
    Well basically the theme's default layout (before making any changes to the source) is:

    Header
    ^
    Feature Slider
    ^
    Service Boxes
    ^
    Widget Area
    ^
    Footer


    There is a section in the ePanel where you can edit which service boxes you decide to show, but no way to move the widgets above the service boxes.. When you edit widgets through the dashboard, youre only deciding which ones to show beneath the service boxes..

    Hope this makes sense...

  4. #4
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So yeah I just want to switch it so that the entire widget section is above the Service boxes

  5. #5
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you working on the localhost or live server?
    I can suggest sth but I don't know if it's going to work. But you can try it and if it's not going to work just replace it again with your previous code.
    I don't know how css is going to work with this but you can try this:
    Put
    <?php include(TEMPLATEPATH . '/includes/default.php'); ?>
    just after
    <?php get_header(); ?>
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  6. #6
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice thanks

  7. #7
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by awkward_clam View Post
    nice thanks
    I'm glad. But looks like services div needs a top border now.
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  8. #8
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    youre right


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •