Add Second Row of Feature Boxes / Figured out linking them but lost second row
-
I found some instructions regarding the feature boxes linking to another page from over a year ago and followed them and they worked perfectly but it took away the second row of feature boxes and I’m not sure how to get them back … plus the description bar for the second row is indented and I don’t know how to make it even with the top one. Is there anyone who can help me out with this?
Seriously grateful for any help, I’m totally new and absolutely found this answer by the Grace of God. lol
Thanks
AdrienneI used the following code
*/
?><div id=”featured-boxs”>
<span class=”featured-box-first”><h2><?php echo esc_textarea(of_get_option(‘featuredr-title’, __(‘Recent Works’,’simplify’))); ?></h2><div class=”content-ver-sep”></div>
<p><?php echo esc_textarea(of_get_option(‘featuredr-description’, __(‘The Color changing options of Simplify will give the WordPress Driven Site an attractive look.’,’simplify’))); ?></p></span><?php
$fboxclm = array(“1”);
foreach ($fboxclm as $fboxn) { ?><span class=”featured-box”>
/your_url/” title=”<?php echo of_get_option(‘featured-title’ . $fboxn , ”); ?>”>
<img class=”box-image” src=”<?php echo of_get_option(‘featured-image’ . $fboxn, get_template_directory_uri() . ‘/images/featured-image’ . $fboxn . ‘.jpg’) ?>”/>
<h3><?php echo of_get_option(‘featured-title’ . $fboxn , ”); ?></h3>
<div class=”content-ver-sep”></div><p><?php echo of_get_option(‘featured-description’ . $fboxn , ”); ?></p>
</span><?php } ?>
<?php
$fboxclm = array(“2”);
foreach ($fboxclm as $fboxn) { ?><span class=”featured-box”>
/your_url/” title=”<?php echo of_get_option(‘featured-title’ . $fboxn , ”); ?>”>
<img class=”box-image” src=”<?php echo of_get_option(‘featured-image’ . $fboxn, get_template_directory_uri() . ‘/images/featured-image’ . $fboxn . ‘.jpg’) ?>”/>
<h3><?php echo of_get_option(‘featured-title’ . $fboxn , ”); ?></h3>
<div class=”content-ver-sep”></div><p><?php echo of_get_option(‘featured-description’ . $fboxn , ”); ?></p>
</span><?php } ?>
<?php
$fboxclm = array(“3”);
foreach ($fboxclm as $fboxn) { ?><span class=”featured-box”>
/your_url/” title=”<?php echo of_get_option(‘featured-title’ . $fboxn , ”); ?>”>
<img class=”box-image” src=”<?php echo of_get_option(‘featured-image’ . $fboxn, get_template_directory_uri() . ‘/images/featured-image’ . $fboxn . ‘.jpg’) ?>”/>
<h3><?php echo of_get_option(‘featured-title’ . $fboxn , ”); ?></h3>
<div class=”content-ver-sep”></div><p><?php echo of_get_option(‘featured-description’ . $fboxn , ”); ?></p>
</span><?php } ?>
*/
?><div id=”featured-boxs”>
<span class=”featured-box-first”><h2><?php echo esc_textarea(of_get_option(‘featuredr-title’, __(‘Recent Works’,’simplify’))); ?></h2><div class=”content-ver-sep”></div>
<p><?php echo esc_textarea(of_get_option(‘featuredr-description’, __(‘The Color changing options of Simplify will give the WordPress Driven Site an attractive look.’,’simplify’))); ?></p></span>
- The topic ‘Add Second Row of Feature Boxes / Figured out linking them but lost second row’ is closed to new replies.