Ejemplo n.º 1
0
                <?php 
get_template_part('templates/pd-title');
?>
                
                <div class="project-subtitle project-skill">
                    <?php 
echo $termNames;
?>
                </div>
            
            </div>

             <?php 
// get portfolio social share
$portfolio_social_share = ep_get_meta('portfolio-social-share');
if ($portfolio_social_share == 1) {
    ?>
                <div class="social_share_container">
                    <!-- portfolio Socail share -->
                    <div class="socialShareContainer">
                        <div class="social_share_toggle">
                            <i class="icon-share2"></i>
                            <?php 
    get_template_part('templates/social-share');
    ?>
                        </div>
                    </div>
                </div>
            <?php 
}
Ejemplo n.º 2
0
<?php

//check social share is Enable or not
$socialshare = get_post_meta(get_the_ID(), "post-social-share", true);
?>
<div <?php 
post_class();
?>
>
    <div class="post-media">
        <?php 
//Parse the content for the first occurrence of video url
$audio = ep_extract_audio_info(ep_get_meta('audio-url'));
if ($audio != null) {
    //Extract video ID
    ?>
            <div class="post-media audio-frame">
                <?php 
    echo ep_soundcloud_get_embed($audio['url']);
    ?>
            </div>
        <?php 
}
?>
    </div>
    
    <?php 
get_template_part('templates/single', "post-meta");
the_content();
wp_link_pages();
?>
Ejemplo n.º 3
0
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 */
get_header();
// menu
get_template_part('templates/section', 'nav');
// blog Sidebar For Classic blog
$blogSidebar = 'span9';
$sidebar = ep_get_meta('blog-sidebar');
if ($sidebar == 'no-sidebar') {
    $blogSidebar = 'span12';
}
$checkTitle = get_post_meta(get_the_ID(), "title-bar", true);
?>
    <!-- main-content wrap pass to djax -->
    <div class="main-content" id="main-content">
        <!--Content-->
        <div id="main">
	        <!-- Blog -->
	        <section class="cblog">
	            <span class="menuSpace" id="<?php 
echo esc_attr($post->post_name);
?>
"></span>
Ejemplo n.º 4
0
<?php

$images = ep_get_meta('image');
if (count($images)) {
    ?>

    <div id="pDSwiper" class="swiper-container clearfix">
        <div class="swiper-wrapper">
            
            <?php 
    $imageSize = 'ep_portfolio-single';
    foreach ($images as $img) {
        //For getting image size use
        //http://php.net/manual/en/function.getimagesize.php
        $imgId = ep_get_image_id($img);
        if ($imgId == -1) {
            //Fallback
            $imgTag = "<img src=\"{$img}\" />";
        } else {
            $imgTag = "<img src=\"{$img}\" />";
        }
        ?>
                
                <div class="swiper-slide" style="background: url(<?php 
        echo $img;
        ?>
);">
                     <?php 
        echo $imgTag;
        ?>
                </div>
Ejemplo n.º 5
0
<?php

//check social share is Enable or not
$socialshare = get_post_meta(get_the_ID(), "post-social-share", true);
?>
<div <?php 
post_class();
?>
>
    <div class="post-media">
        <?php 
$images = ep_get_meta('gallery');
if (count($images)) {
    ?>
        
            <div class="bpSwiper swiper-container clearfix">
            
                <!-- Next Arrows -->
                <div class="arrows-button-next no-select">
                    <span class="text">
                        <?php 
    _e('NEXT', 'epicomedia');
    ?>
                    </span>
                </div>


                <!-- Prev Arrows -->
                <div class="arrows-button-prev no-select">
                    <span class="text">
                        <?php 
Ejemplo n.º 6
0
<?php

$slider = '';
$mSlider = ep_get_meta('slider');
//Revolutionslider
if ('no-slider' != $mSlider) {
    $slider = $mSlider;
}
//Slider
if ('' != $slider && class_exists('RevSliderFront')) {
    $revolutionslider = '[rev_slider ' . $slider . ']';
    echo do_shortcode($revolutionslider);
}
Ejemplo n.º 7
0
<?php

//check social share is Enable or not
$socialshare = get_post_meta(get_the_ID(), "post-social-share", true);
?>
<div <?php 
post_class();
?>
>
    <div class="post-media">

        <?php 
//Parse the content for the first occurrence of video url
$video = ep_extract_video_info(ep_get_meta('video-id'));
if ($video != null) {
    $w = 500;
    $h = 280;
    ep_get_video_meta($video);
    if (array_key_exists('width', $video)) {
        $w = $video['width'];
        $h = $video['height'];
    }
    //Extract video ID
    ?>
            <div class="post-media video-frame">
                <?php 
    if ($video['type'] == 'youtube') {
        $src = "http://www.youtube.com/embed/" . $video['id'];
    } else {
        $src = "http://player.vimeo.com/video/" . $video['id'] . "?color=ff4c2f";
    }
Ejemplo n.º 8
0
<?php

/**
 * Template for displaying portfolio single posts.
 */
get_header();
// menu
get_template_part('templates/section', 'nav');
$pPostDetailType = ep_get_meta('portfolio-detail-style');
global $wp_query;
if (isset($wp_query->query_vars['inner'])) {
    $pPostDetailType = 'portfolio_detail_default';
}
?>
<div id="main-content" class="main-content">
    <div id="portfoliSingle" class="wrap singlePost <?php 
echo esc_attr($pPostDetailType);
?>
">
        <!--portfolio detail Content-->
        <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        if ($pPostDetailType == 'portfolio_detail_full_width') {
            get_template_part('templates/portfolio-detail', 'fullwidth');
        } else {
            if ($pPostDetailType == 'portfolio_detail_boxed') {
                get_template_part('templates/portfolio-detail', 'boxed');
            } else {
                if ($pPostDetailType == 'portfolio_detail_creative') {
Ejemplo n.º 9
0
<?php

get_header();
// menu
get_template_part('templates/section', 'nav');
//Get the sidebar option
$sidebarPos = ep_opt('sidebar-position');
$sidebar = ep_get_meta('sidebar');
// Get Page Post Id
$post_id = get_the_ID();
?>

<!-- main-content wrap pass to djax -->
<div class="main-content" id="main-content">
    <?php 
get_template_part('templates/head');
?>
    <!-- Page Content-->
    <div class="wrap" id="pageHeight">
        
    <?php 
if (function_exists('is_checkout') && is_checkout()) {
    ?>
        <div class="container">
    <?php 
}
?>
        
                <div class="pageTopSpace"></div>
            <?php 
if (get_post_meta($post_id, "page-type-switch", true) == "custom-section") {