| Server IP : www.new.bangkokfinder.com / Your IP : 162.158.170.162 Web Server : nginx/1.20.1 System : Linux new 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 User : bangkokfinder ( 1000) PHP Version : 7.4.33 Disable Function : 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bangkokfinder/www/wp-content/themes/wpl_twentyeight/ |
Upload File : |
<?php
/** no direct access **/
defined('_WPLTEXEC') or die('Restricted access');
/** get theme helper **/
global $wpl_helper;
$wpl_helper = isset($wpl_helper) ? $wpl_helper : new wpl_helper();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php $wpl_helper->wpl_post_thumbnail(); ?>
<header class="entry-header">
<?php
if ( is_single() ) :
the_title( '<h1 class="entry-title">', '</h1>' );
else :
the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
endif;
?>
<div class="entry-meta">
<?php
if ( 'post' == get_post_type() )
$wpl_helper->wpl_posted_by();
?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<?php if ( is_search() ) : ?>
<div class="entry-content">
<?php
echo '<div class="post-content-box">';
the_excerpt();
echo '</div>';
if ( 'post' == get_post_type() )
{
$wpl_helper->wpl_posted_on();
}
?>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'wpl_twentyeight' ), __( '1 Comment', 'wpl_twentyeight' ), __( '% Comments', 'wpl_twentyeight' ) ); ?></span>
</div><!-- .entry-content -->
<?php else : ?>
<div class="entry-content">
<?php
echo '<div class="post-content-box">';
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'wpl_twentyeight' ) );
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'wpl_twentyeight' ) . '</span>',
'after' => '</div>',
'link_before' => '',
'link_after' => '',
) );
echo '</div>';
if ( 'post' == get_post_type() )
{
$wpl_helper->wpl_posted_on();
}
?>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'wpl_twentyeight' ), __( '1 Comment', 'wpl_twentyeight' ), __( '% Comments', 'wpl_twentyeight' ) ); ?></span>
<?php
edit_post_link( __( 'Edit', 'wpl_twentyeight' ), '<span class="edit-link">', '</span>' );
?>
</div><!-- .entry-content -->
<?php endif; ?>
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', ', ', '</span></footer>' ); ?>
</article><!-- #post-## -->