Adding Images PHP in Organic Theme
-
We at work liked the organic/nature theme. Issue, below the slider, there are three feature page links. I want them to be just images to click on.
1. How do I find that php page (i think it is home.php)
2. How do I hardcode it to get the images in there
I think this is where I need to change it website is at https://www.oneotatestsite.com any help would be GREAT!!! Thanks!
<div class=”row”>
<!– BEGIN .homepage –>
<div class=”homepage”><?php if (of_get_option(‘display_home_mid’) == ‘1’) { ?>
<?php if ( ‘false’ != of_get_option( ‘page_left’ ) && ‘false’ != of_get_option( ‘page_mid’ ) && ‘false’ != of_get_option( ‘page_right’ ) ) { ?><!– BEGIN .featured-pages –>
<div class=”featured-pages radius-full”><div class=”holder third first”>
<?php $recent = new WP_Query(‘page_id=’.of_get_option(‘page_left’)); while($recent->have_posts()) : $recent->the_post(); ?>
<?php get_template_part( ‘content/home’, ‘page’ ); ?>
<?php endwhile; ?>
</div><div class=”holder third”>
<?php $recent = new WP_Query(‘page_id=’.of_get_option(‘page_mid’)); while($recent->have_posts()) : $recent->the_post(); ?>
<?php get_template_part( ‘content/home’, ‘page’ ); ?>
<?php endwhile; ?>
</div><div class=”holder third last”>
<?php $recent = new WP_Query(‘page_id=’.of_get_option(‘page_right’)); while($recent->have_posts()) : $recent->the_post(); ?>
<?php get_template_part( ‘content/home’, ‘page’ ); ?>
<?php endwhile; ?>
</div><!– END .featured-pages –>
- The topic ‘Adding Images PHP in Organic Theme’ is closed to new replies.