با سلام سایت من این ارور رو میداد
fatal error: Call to undefined function wp_pagenavi() in /home/u120434880/public_html/wp-content/themes/Higgs-p30light/index.php on line 51
من دنبالش کردم تا به این رسیدم
ایرادش رو میتونید برام بگیرید
fatal error: Call to undefined function wp_pagenavi() in /home/u120434880/public_html/wp-content/themes/Higgs-p30light/index.php on line 51
من دنبالش کردم تا به این رسیدم
ایرادش رو میتونید برام بگیرید
کد:
<?php get_header(); ?>
<?php include(TEMPLATEPATH .'/sidebar_right.php'); ?>
<?php include(TEMPLATEPATH .'/sidebar_left.php'); ?>
<div class="article">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post();?>
<div class="post">
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" ><?php the_title(); ?></a>
</h2>
<div class="text"><?php the_content(); ?></div><!--text-->
<div class="description">
<ul>
<li>
<?php
$ps_link = get_permalink($post->ID); // Post URL
$ps_title = str_replace(' ','+',get_the_title( $post->ID )); // Post title
$ps_image_dir = get_settings('home') . '/wp-content/themes/charegar/images/share/'; // Images URL
echo '<a class="fb" href="http://facebook.com/sharer.php?u=' . $ps_link . '&t=' . $ps_title . '" target="_blank" rel="nofollow" rel="nofollow" title="share+in+facebook">
</a>';
echo '<a class="yahoo" href="ymsgr:im?msg=ino%20bebin%20-%20' . $ps_link . '%20-%20' . $ps_title . '" target="_blank" rel="nofollow" rel="nofollow" title="share+with+ym">
</a>';
echo '<a class="tw" href="http://twitter.com/home?status=' . $ps_title . '%20-%20' . $ps_link . '" target="_blank" rel="nofollow" rel="nofollow" title="share+with+">
</a>';
?>
</li>
<li>
<div class="writer"><?php the_author(); ?></div>
</li>
<li>
<div class="data"><?php the_time(__('d F Y ','')) ?></div>
</li>
<li>
<div class="comment">نظرات: <?php comments_number( '0', '1', '% ' ); ?></div>
</li>
</ul>
<a href="<?php the_permalink(); ?>" class="more">ادامه مطلب</a>
</div><!--description-->
</div><!--post-->
<?php endwhile; ?>
<?php wp_pagenavi(); ?>
<?php else : ?>
<?php endif; ?>
</div><!--article-->
<?php include(TEMPLATEPATH .'/friend.php'); ?>
<?php include(TEMPLATEPATH .'/slider.php'); ?>
</div><!--middle-->
<div class="footer">
<div class="footer_shadow">
<div class="middle">
<?php include(TEMPLATEPATH .'/footer_widgets.php'); ?>
</div><!--middle-->
</div><!--footer_shadow-->
</div><!--footer-->
<?php include(TEMPLATEPATH .'/copyright.php'); ?>
<?php wp_footer(); ?>
</body>
</html>
در حال برنامه نویسی یک اسکریپت هستم...|منتظر باشید