예제 #1
0
                    <?php 
        if (!empty($ut_csection_header_slogan)) {
            ?>
                    	<h2 class="parallax-title"><span><?php 
            echo do_shortcode(ut_translate_meta($ut_csection_header_slogan));
            ?>
</span></h2>
                    <?php 
        }
        ?>
                    
                    <?php 
        if (!empty($ut_csection_header_expertise_slogan)) {
            ?>
                    	<p class="lead"><?php 
            echo do_shortcode(ut_translate_meta($ut_csection_header_expertise_slogan));
            ?>
</p>
                    <?php 
        }
        ?>
                    
                </header>
            </div>
            <!-- close parallax header -->
            
            <div class="clear"></div>
            
            <?php 
    }
    ?>
예제 #2
0
<?php

/**
 * The Template for displaying a custom shortcode inside the Hero
 *
 * @author 		United Themes
 * @package 	Brooklyn
 * @version     1.0
 */
/* template config */
$ut_hero_shortcode = ut_return_hero_config('ut_hero_shortcode');
?>

<!-- hero section -->
<section class="ha-waypoint" data-animate-up="ha-header-hide" data-animate-down="ha-header-hide">

    <?php 
echo do_shortcode(ut_translate_meta($ut_hero_shortcode));
?>
    
</section>
<!-- end hero section -->
예제 #3
0
                                      
                                    <?php 
        if (!empty($link_description)) {
            ?>
                                        
                                        <?php 
            $slide['link_description'] = !empty($slide['link_description']) ? $slide['link_description'] : esc_html__('Read more', 'unitedthemes');
            ?>
                                        
                                        <span class="hero-btn-holder">
                                            <a target="_blank" href="<?php 
            echo $slidelink;
            ?>
" class="hero-btn hero-slider-button">
                                                <?php 
            echo ut_translate_meta($link_description);
            ?>
                                            </a>
                                        </span>
                                        
                                    <?php 
        }
        ?>
    
                                                                     
                                  </div>
                              </div><!-- close hero-holder -->
                          </div>
                          
                      </li>
                  
예제 #4
0
                                <?php 
        if ($ut_second_hero_button_style == 'custom') {
            ?>
                                        
                            
                                    <?php 
            echo !empty($ut_second_hero_button_settings['icon']) ? '<i class="fa ' . $ut_second_hero_button_settings['icon'] . '"></i>' : '';
            ?>
 
                                    
                                <?php 
        }
        ?>
                                
                                <?php 
        echo ut_translate_meta($ut_second_hero_button_text);
        ?>
                                        
                            
                            </a>
                    
                        <?php 
    }
    ?>
 
                    
                    </span>
                    
                <?php 
}
?>
예제 #5
0
            ?>
</a>
                                        
                                    <?php 
        }
        ?>
                                    
                                    <?php 
        if (!empty($tab['link_two_text'])) {
            ?>
                                        
                                        <a class="ut-btn ut-right-tablet-button theme-btn small round" href="<?php 
            echo ut_translate_meta($tab['link_two_url']);
            ?>
"><?php 
            echo ut_translate_meta($tab['link_two_text']);
            ?>
</a>
                                        
                                    <?php 
        }
        ?>
                                    </div>
                                </div>
                            
                            </li>
                    
                        <?php 
        $counter++;
    }
    ?>
예제 #6
0
                        
                </div><!-- close member photo -->
                    
                <?php 
        }
        ?>
                
                <!-- memeber box -->
                <div class="grid-70 prefix-15 tablet-grid-100 mobile-grid-100">
                <div class="member-box">
                    <h3 class="ut-member-name"><?php 
        echo $member['ut_member_name'];
        ?>
</h3>
                    <span class="ut-member-title"><?php 
        echo ut_translate_meta($member['ut_member_title']);
        ?>
</span>
                    <?php 
        echo apply_filters('the_content', $member['ut_member_description']);
        ?>
                </div>
                </div><!-- close member box -->
                
                <div class="clear"></div>
                            
            </div>
        
        </div>
         
        <?php 
예제 #7
0
                            echo empty($ut_parallax_image) ? 'section-title' : 'parallax-title';
                            ?>
 <?php 
                            echo $ut_section_title_glow;
                            ?>
"><span><?php 
                            the_title();
                            ?>
</span></h2>
                                                
                                                <?php 
                            if (!empty($ut_section_slogan)) {
                                ?>
                                                    
                                                    <div class="lead"><?php 
                                echo do_shortcode(ut_translate_meta($ut_section_slogan));
                                ?>
</div>
                                                    
                                                <?php 
                            }
                            ?>
                                                
                                            </header>
                                        </div>
                                        <!-- close section header -->
                                
                                    </div>
                                    
                                    <div class="clear"></div>
                                
예제 #8
0
            ?>
</a></span>
                                <?php 
        }
        ?>
    
                                                               
                            </div>
                        </div><!-- close hero-holder -->
                    </div>
                    
                    <img alt="<?php 
        echo !empty($slide['title']) ? ut_translate_meta($slide['title']) : '';
        ?>
" src="<?php 
        echo ut_translate_meta($slide['image']);
        ?>
">

                </li>
            
            <?php 
        $slidecount++;
    }
    ?>
            
        </ul>
        
        <nav>
            <a class="prev" href="#"><?php 
    _e('Previous item', 'unitedthemes');