function green_enqueue_scripts()
{
    wp_enqueue_style('green-style', get_stylesheet_uri(), false);
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    wp_register_style('green-gfonts', '//fonts.googleapis.com/css?family=PT+Sans', false);
    wp_register_style('green-gfonts1', '//fonts.googleapis.com/css?family=Open+Sans+Condensed:300', false);
    wp_enqueue_style('green-gfonts');
    wp_enqueue_style('green-gfonts1');
    if (is_front_page()) {
        wp_enqueue_script('green-menu-style', get_template_directory_uri() . '/js/menu.js');
        wp_enqueue_style('green-slide-style', get_template_directory_uri() . '/css/style_ie.css', false);
    }
    if (green_get_option('responsive', '0') == '1') {
        wp_enqueue_style('green-responsive', get_template_directory_uri() . '/style-responsive.css');
    }
}
<?php 
        if (green_get_option('featured-image' . $fboxn, get_template_directory_uri() . '/images/featured-image.png') != '') {
            ?>
<img class="box-image" src="<?php 
            echo green_get_option('featured-image' . $fboxn, get_template_directory_uri() . '/images/featured-image.png');
            ?>
"/>
<?php 
        }
        ?>

<h3><?php 
        echo green_get_option('featured-title' . $fboxn, 'GREEN Environment');
        ?>
</h3>

<p><?php 
        echo green_get_option('featured-description' . $fboxn, 'The Color changing options of GREEN will give the WordPress Driven Site an attractive look. green is super elegant and Professional Responsive Theme which will create the business widely expressed.');
        ?>
</p>
</span>



<?php 
    }
}
?>

</div> <!-- featured-boxs -->
Esempio n. 3
0
        green_content();
        ?>

				<?php 
        wp_link_pages(array('before' => __('<p><strong>Pages:</strong> ', 'green-eye'), 'after' => '</p>', 'next_or_number' => 'number'));
        ?>

			</div>
		</div>
		<?php 
    }
    ?>
<div class="clear"> </div>
	<?php 
    edit_post_link(__('Edit This Entry', 'green-eye'), '<p>', '</p>');
    if (green_get_option('cpage', '') != '1') {
        if (comments_open($post->ID) == true) {
            comments_template('', true);
        }
    }
    ?>
	<?php 
} else {
    ?>
		<p><?php 
    _e('Sorry, no pages matched your criteria', 'green-eye');
    ?>
</p>
	<?php 
}
?>
?>
       
<div id="container">
<h1 id="heading"><?php 
echo green_get_option('heading_text', 'Welcome to the World of Creativity!');
?>
</h1>
<p class="heading-desc"><?php 
echo green_get_option('heading_des', 'WordPress is web software you can use to create a <a href="#">beautiful website or blog</a>. We like to say that <a href="http://wordpress.org/">WordPress</a> is both free and priceless at the same time.');
?>
</p>

<?php 
get_template_part('featured-box');
get_template_part('fcontent');
?>
 

<div class="content-ver-sep"></div>


<div class="fpage-quote">
<div class="customers-comment">
<ul><li> <?php 
echo '<q>' . green_get_option('bottom-quotation', 'All the developers of D5 Creation have come from the disadvantaged part or group of the society. All have established themselves after a long and hard struggle in their life ----- D5 Creation Team') . '</q>';
?>
</li></ul>
</div></div>

<?php 
get_footer();
Esempio n. 5
0
    <p class="ibcon"><?php 
    echo green_get_option('slide-image1-caption', 'This is a Test Image for GREEN EYE Theme. If you feel any problem please contact with D5 Creation.');
    ?>
</p>
    <?php 
    if (green_get_option('slide-image1-link', '#')) {
        ?>
<a class="jms-link" href="<?php 
        echo green_get_option('slide-image1-link', '#');
        ?>
">Read more</a><?php 
    }
    ?>
    </div><div id="iesc">
    <img class="ibcon" src="<?php 
    echo green_get_option('slide-image1', get_template_directory_uri() . '/images/slide-image/1.png');
    ?>
" />
    </div></div></div>	

<div id ="header" class="large">
      <div class ="header-content">
		<nav id="green-main-menu">
		<?php 
    wp_nav_menu(array('theme_location' => 'main-menu', 'menu_class' => 'm-menu', 'fallback_cb' => 'green_page_menu'));
    ?>
        </nav>
      
      </div><!-- header-content -->
      </div><!-- header -->
  
Esempio n. 6
0
            previous_image_link(false, __('&laquo; Previous Image', 'green-eye'));
            ?>
</div>
			<div class="floatright"><?php 
            next_image_link(false, __('Next Image &raquo;', 'green-eye'));
            ?>
</div> 
            <?php 
        }
        ?>
          	</div>
			
			<?php 
    }
}
?>
          	            
          <!-- End the Loop. -->          
        	
			<?php 
if (green_get_option('cpost', '') != '1') {
    if (comments_open($post->ID) == true) {
        comments_template('', true);
    }
}
?>
            
</div></div>			
<?php 
get_sidebar();
get_footer();