| Server IP : 43.153.74.48 / Your IP : 216.73.216.28 Web Server : LiteSpeed System : Linux VM-0-13-ubuntu 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64 User : www ( 1002) PHP Version : 8.1.29 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/stainlesstint.com/wp-content/themes/woodmart/ |
Upload File : |
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
* 'pages' on your WordPress site will use a different template.
*
*/
get_header(); ?>
<?php
// Get content width and sidebar position
$content_class = woodmart_get_content_class();
?>
<div class="site-content <?php echo esc_attr( $content_class ); ?>" role="main">
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<div class="wd-single-footer"><?php if( get_the_tag_list( '', ', ' ) ): ?>
<div class="single-meta-tags">
<span class="tags-title"><?php esc_html_e('Tags', 'woodmart'); ?>:</span>
<div class="tags-list">
<?php echo get_the_tag_list( '', ', ' ); ?>
</div>
</div>
<?php endif; ?><?php if ( woodmart_get_opt( 'blog_share' ) && woodmart_is_social_link_enable( 'share' ) ): ?>
<div class="single-post-social">
<?php if( function_exists( 'woodmart_shortcode_social' ) ) echo woodmart_shortcode_social(array('type' => 'share', 'tooltip' => 'no', 'style' => 'colored')) ?>
</div>
<?php endif ?></div>
<?php if ( woodmart_get_opt( 'blog_navigation' ) ) woodmart_posts_navigation(); ?>
<?php
if ( woodmart_get_opt( 'blog_related_posts' ) ) {
$args = woodmart_get_related_posts_args( $post->ID );
$query = new WP_Query( $args );
$design = woodmart_get_opt( 'blog_design' );
woodmart_enqueue_inline_style( 'blog-base' );
if ( woodmart_is_blog_design_new( $design ) ) {
woodmart_enqueue_inline_style( 'blog-loop-base' );
} else {
woodmart_enqueue_inline_style( 'blog-loop-base-old' );
}
if ( 'small-images' === $design || 'chess' === $design ) {
woodmart_enqueue_inline_style( 'blog-loop-design-small-img-chess' );
} else {
woodmart_enqueue_inline_style( 'blog-loop-design-' . $design );
}
if( function_exists( 'woodmart_generate_posts_slider' ) ) echo woodmart_generate_posts_slider(array(
'title' => esc_html__('Related Posts', 'woodmart'),
'blog_design' => 'carousel',
'blog_carousel_design' => woodmart_is_blog_design_new( $design ) ? $design : 'masonry',
'el_class' => 'related-posts-slider',
'slides_per_view' => 2
), $query);
}
?>
<?php comments_template(); ?>
<?php endwhile; ?>
</div><!-- .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>