Title: changing home page span boxes
Last modified: August 30, 2016

---

# changing home page span boxes

 *  [giec](https://wordpress.org/support/users/giec/)
 * (@giec)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/chaging/)
 * Hi guys, I was wondering how to change the span3 containers inside wpeden-bs-
   services: at the moment they are all the same – ie they have the same content
   at the moment. Admittedly my php is what it is, extremely basic but I know other
   programming languages so i’ll pick it up hopefully, this is what the template
   looks like:
 *     ```
       <?php for($i=1;$i<=4;$i++){ ?>
   
               <div class="span3">
   
               <?php $tpid = (int)sensitive_get_theme_opts('home_featured_page_'.$i); $intropage = get_page($tpid); $introcontent = strip_tags(strip_shortcodes($intropage->post_content),"p,br"); if (preg_match('/^.{1,80}\b/s', $introcontent, $match)) $introcontent = $match[0]; else $introcontent = substr($introcontent,0,80);  ?>
   
               <div class="about well">
   
                 <a href="<?php echo get_permalink($intropage->ID); ?>"><?php sensitive_thumb($intropage,array(500,300), array('class'=>'img')); ?></a>
   
                 <div class="entry-content">
   
                 <h2><?php echo $intropage->post_title; ?></h2>
   
                 <p><?php echo $introcontent; ?></p>
   
                 </div>
   
                 <a href="<?php echo get_permalink($intropage->ID); ?>" class="btn <?php echo sensitive_get_theme_opts('button_style','btn-info'); ?> btn-block">View details</a>
   
               </div>  
   
               </div>
       ```
   
 * Basically I need to change the text and have links to other pages that are not
   there as yet

Viewing 1 replies (of 1 total)

 *  Thread Starter [giec](https://wordpress.org/support/users/giec/)
 * (@giec)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/chaging/#post-6222790)
 * OK I’ve now added the new pages I want to link to. Basically this is my home 
   page [http://antonioborrillo.co.uk/andys/](http://antonioborrillo.co.uk/andys/)
   and I want the two boxes currently saying “Home” to have instead the names of
   these two pages [http://antonioborrillo.co.uk/andys/index.php/what-we-can-do-for-you/](http://antonioborrillo.co.uk/andys/index.php/what-we-can-do-for-you/)
   and [http://antonioborrillo.co.uk/andys/index.php/get-in-touch/](http://antonioborrillo.co.uk/andys/index.php/get-in-touch/)
   and link to them. The code of those boxes is displayed above in the first post.
   ANy idea what I should do?

Viewing 1 replies (of 1 total)

The topic ‘changing home page span boxes’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sensitive/1.2.6/screenshot.png)
 * Sensitive
 * [Support Threads](https://wordpress.org/support/theme/sensitive/)
 * [Active Topics](https://wordpress.org/support/theme/sensitive/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sensitive/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sensitive/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [giec](https://wordpress.org/support/users/giec/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/chaging/#post-6222790)
 * Status: not resolved