• Evening, Ive been having problems setting links on the featured box php, I’ve messed about with the code copying code from older topics/threads but no joy.

    I’ve been using this code and i literally just copied it into the editor under featured box php

    website

    <?php
    
    /* 	Simplify Theme's Featured Box to show the Featured Items of Front Page
    
    	Copyright: 2012-2014, D5 Creation, www.d5creation.com
    
    	Based on the Simplest D5 Framework for WordPress
    
    	Since Simplify 1.0
    
    */
    
    ?>
    
    <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><br /><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">
    			<a href="<?php bloginfo('url'); ?>/https://www.youtube.com/watch?v=0f-GrG-VxVo/" 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>
    			</a>
    			<div class="content-ver-sep"></div>
    			<br />
    			<p><?php echo of_get_option('featured-description' . $fboxn , ''); ?></p>
    		</span>
    	<?php } ?>
    	<?php
    		$fboxclm = array("2");
    		foreach ($fboxclm as $fboxn) { ?>
    		<span class="featured-box">
    			<a href="<?php bloginfo('url'); ?>/https://www.youtube.com/watch?v=0f-GrG-VxVo/" 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>
    			</a>
    			<div class="content-ver-sep"></div>
    			<br />
    			<p><?php echo of_get_option('featured-description' . $fboxn , ''); ?></p>
    		</span>
    	<?php } ?>
    	<?php
    		$fboxclm = array("3");
    		foreach ($fboxclm as $fboxn) { ?>
    		<span class="featured-box">
    			<a href="<?php bloginfo('url'); ?>/https://www.youtube.com/watch?v=0f-GrG-VxVo/" 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>
    			</a>
    			<div class="content-ver-sep"></div>
    			<br />
    			<p><?php echo of_get_option('featured-description' . $fboxn , ''); ?></p>
    		</span>
    	<?php } ?>
    </div> <!-- featured-boxs -->

    any help much appreciated

Viewing 1 replies (of 1 total)
  • Theme Author D5 Creation

    (@d5creation)

    You can use the Latest Version. In this version you can

    – Set Links from First Row and Second Row Featured Boxes
    – You can use HTML in the Description section of First Row and Second Row Featured Boxes
    – You can add Facebook and Twitter besides other Social Media Icons

Viewing 1 replies (of 1 total)
  • The topic ‘Featured Box’ is closed to new replies.