예제 #1
0
?>
				</div>
				<div class="col-md-4">
					<?php 
dynamic_sidebar('footer-center');
?>
				</div>
				<div class="col-md-4">
					<?php 
$socials_title = sun_option('socials-title');
$first_icon = sun_option('first-icon');
$second_icon = sun_option('second-icon');
$third_icon = sun_option('third-icon');
$fourth_icon = sun_option('fourth-icon');
$fifth_icon = sun_option('fifth-icon');
$sixth_icon = sun_option('sixth-icon');
?>
					<h3 class="widget-title"><?php 
echo $socials_title;
?>
</h3>
					<div class="follow-me-icons">
					<?php 
if ($first_icon) {
    echo '<a href="' . $first_icon[1] . '" target="_blank"><i class="fa fa-' . $first_icon[0] . '"></i></a>';
}
if ($second_icon) {
    echo '<a href="' . $second_icon[1] . '" target="_blank"><i class="fa fa-' . $second_icon[0] . '"></i></a>';
}
if ($third_icon) {
    echo '<a href="' . $third_icon[1] . '" target="_blank"><i class="fa fa-' . $third_icon[0] . '"></i></a>';
예제 #2
0
<?php

/**
* File used for Homepage optionally Advantages module
*
* @package Sun
**/
$adv_title = sun_option('adv-title');
$first_column = sun_option('first-column');
$second_column = sun_option('second-column');
$third_column = sun_option('third-column');
$fourth_column = sun_option('fourth-column');
?>
<section class="section jumbotron">
	<div class="container">
		<h2 class="title text-center"><?php 
echo $adv_title[0];
?>
<br>
			<small><?php 
echo $adv_title[1];
?>
</small>
		</h2>
		<div class="row">
			<figure class="col-md-3 col-sm-6 text-center">
				<i class="fa fa-<?php 
echo $first_column[1];
?>
 fa-4x color-blue"></i>
				<h4><?php 
예제 #3
0
<?php

/**
* File used for Homepage optionally Testimonials module
*
* @package Sun
**/
$testimonials_title = sun_option('testimonials-title');
$slides = sun_option('testimonials-slider');
$indicators = count($slides);
?>
<section class="section section-testimonials jumbotron">
	<div class="container">
		<h2 class="title text-center"><?php 
echo $testimonials_title;
?>
</h2>
		<div id="testimonials-carousel" class="carousel slide" data-ride="carousel">
			<ol class="carousel-indicators">
				<?php 
for ($i = 0; $i < $indicators; $i++) {
    echo '<li data-target="#testimonials-carousel" data-slide-to="' . $i . '"></li>';
}
?>
	
			</ol>
			<div class="carousel-inner">
				<?php 
$active = true;
foreach ($slides as $slide) {
    ?>
예제 #4
0
<?php

/**
* File used for Homepage optionally Two Columns module
*
* @package Sun
**/
$main_title = sun_option('maincolumns-title');
$left_title = sun_option('leftcolumn-title');
$left_text = sun_option('leftcolumn-text');
$left_img = sun_option('leftcolumn-image');
$right_title = sun_option('rightcolumn-title');
$right_text = sun_option('rightcolumn-text');
$right_img = sun_option('rightcolumn-image');
?>
<section class="section section-twocolumn">
	<div class="container">
		<h2 class="text-center title"><?php 
echo $main_title;
?>
</h2>
		<div class="row">
			<div class="col-sm-6">
				<h3><?php 
echo $left_title;
?>
</h3>
				<img src="<?php 
echo $left_img['url'];
?>
" class="img-responsive">
예제 #5
0
<?php

/**
* File used for Homepage optionally Intro module
*
* @package Sun
**/
$intro_title = sun_option('intro-title');
$intro_text = sun_option('intro-text');
?>
<section class="section section-intro">
	<div class="container">
		<h2 class="text-center"><?php 
echo $intro_title;
?>
</h2>
		<p class="text-center text-muted"><?php 
echo $intro_text;
?>
</p>
	</div>
</section>
예제 #6
0
<?php

/**
* File used for Homepage optionally HERO Banner module
*
* @package Sun
**/
$banner_image = sun_option('banner-image', false, 'url');
$banner_text = sun_option('banner-text');
?>
<header class="head head-default" 
        <?php 
if ($banner_image != '') {
    ?>
          style="background: <?php 
    echo 'url(' . $banner_image . ')';
    ?>
 fixed"
        <?php 
}
?>
>
  <?php 
if (!empty($banner_text)) {
    ?>
    <div class="container">
      <h1 class="lead text-center"><?php 
    echo $banner_text[0];
    ?>
</h1>
      <p class="tagline text-center"><?php 
예제 #7
0
<?php

/**
* File used for Homepage optionally Call To Action module
*
* @package Sun
**/
$cta_title = sun_option('cta-title');
$cta_text = sun_option('cta-text');
$cta_color = sun_option('cta-color');
$cta_button = sun_option('cta-button');
?>
<section class="section section-cta">
	<div class="container">
		<h2><?php 
echo $cta_title[0];
?>
			<span><?php 
echo $cta_title[1];
?>
</span>
		</h2>
		<div class="row topspace">
			<div class="col-sm-9">
				<p><?php 
echo $cta_text;
?>
</p>
			</div>
			<div class="col-sm-3">
				<a href="<?php