| Server IP : 141.193.213.11 / Your IP : 216.73.216.190 Web Server : nginx System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64 User : fpm200079 ( 200079) PHP Version : 8.2.35 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nas/content/live/bartislaw/wp-content/themes/spk/ |
Upload File : |
<?php get_header(); ?>
<div class="inner-page-outer-wrap pb-4">
<div class="container">
<h1 class="ThemeHeadingColor text-center pb-3"><?php the_title(); ?></h1>
<?php wp_reset_query(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="clearfix"></div>
<?php if (get_theme_mod('theme_blog_user_meta_admin_name') || get_theme_mod('theme_blog_user_meta_publish_date')): ?>
<div class="blog-summary-meta d-flex justify-content-left mb-2 px-0">
<ul class="p-0 m-0">
<?php if (get_theme_mod('theme_blog_user_meta_admin_name')): ?>
<li class="p-0 my-0 mr-1 d-inline-block"><i class="fa fa-user"></i> By: <span><?php echo get_the_author(); ?></span></li>
<?php
endif;
if (get_theme_mod('theme_blog_user_meta_publish_date')):
?>
<li class="p-0 my-0 d-inline-block"><i class="fa fa-calendar"></i> Published: <span><?php echo get_the_date(); ?></span></li>
<?php endif; ?>
</ul>
</div>
<?php endif; ?>
<div class="clearfix"></div>
<?php
$imgID = get_post_thumbnail_id($wp_query->ID);
$img = wp_get_attachment_image_src($imgID, 'full', false, '');
$imgAlt = get_post_meta($imgID, '_wp_attachment_image_alt', true);
?>
<?php $youtube_id = get_post_meta($post->ID, 'spk_youtube_id', 'true'); ?>
<?php if ($youtube_id) { ?>
<div class="youtube-div">
<div class="col-md-12 text-center my-3">
<?php
$youtube_id = get_post_meta($post->ID, 'spk_youtube_id', 'true');
$youtube = 'http://i.ytimg.com/vi/' . $youtube_id . '/hqdefault.jpg';
$img_encoded = file_get_contents($youtube);
$youtube = 'data:image/' . $type . ';base64,' . base64_encode($img_encoded);
?>
<div class="youtube" id="' <?php echo $youtube_id ?> '" style="background-image:url(' <?php echo $youtube ?> ')"></div>
</div>
</div>
<?php } ?>
<?php if ($imgID) { ?>
<div class="custom_right text-right">
<img class = "blog-summary-img" src = "<?php echo $img[0]; ?>"alt = "<?php echo the_title(); ?>" />
</div>
<?php } ?>
<div class="custom_left">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<?php endif; ?>
<div class="clearfix"></div>
<?php spk_post_nav(); ?>
<div class="clearfix"></div>
<div class="blog-detail-share-box py-2 mt-3">
<div class="row">
<div class="col-sm-6 left align-self-center text-center text-sm-left"><?php echo get_theme_mod('theme_blog_share_this_box_hd'); ?></div>
<div class="col-sm-6 right">
<ul class="m-0 p-0 text-center text-sm-right">
<li class="d-inline-block m-0 p-0">
<a data-toggle="tooltip" title="Facebook" href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>&t=<?php the_title(); ?>" target="_blank"><i class="fa fa-facebook-square"></i></a>
</li>
<li class="d-inline-block m-0 p-0">
<a href="http://twitter.com/home?status=<?php the_title(); ?> <?php the_permalink(); ?>" title="<?php _e('Twitter', 'law-firm') ?>" target="_blank"><i class="fa fa-twitter-square"></i></a>
</li>
<li class="d-inline-block m-0 p-0">
<a href="http://linkedin.com/shareArticle?mini=true&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" title="<?php _e('LinkedIn', 'law-firm') ?>" target="_blank"><i class="fa fa-linkedin-square"></i></a>
</li>
<li class="d-inline-block m-0 p-0">
<a href="mailto:?subject=<?php the_title(); ?>&body=<?php the_permalink() ?>" title="<?php _e('E-Mail', 'law-firm') ?>" target="_blank"><i class="fa fa-envelope-square"></i></a>
</li>
</ul>
</div>
</div>
</div>
<div class="clearfix"></div>
<!-----Bio Box Code--------------------->
<?php if (empty(get_theme_mod('theme_blog_author_box_hide'))): ?>
<div class="mt-4">
<?php echo do_shortcode('[AuthorBox]'); ?>
</div>
<?php endif; ?>
<!------------------------------------------------->
<div class="clearfix"></div>
<div class="">
<?php require_once TEMPLATEPATH . '/includes/files/responsive-btns-code.php'; ?>
<div class="breadcrumb-wrap-outer mt-lg-3 mt-md-4">
<?php wp_reset_query(); ?>
<?php echo SPKBreadcrumbs(); ?>
</div>
</div>
</div>
</div>
<?php get_footer() ?>