<ul>
<?php
$args = array('numberposts'=>5, 'category'=>2;
$say = get_posts( $args ); $i=0;
foreach( $say as $post ) : $i++; setup_postdata($post);
echo ' <li><div class="filmresimi"><a href="'.the_permalink().'" title="'.the_title().'" class="hovertype">' ;
if(function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(225,295)); }
echo "</a>
<div class=\"sergilemedil\">".get_the_term_list($post->ID, 'dil')."</div>
<div class=\"sergilemeimdb\">İMDB:".get_the_term_list($post->ID, 'imdb')."</div>
</div>
<div class=\"filmadi\"><a href=\"".the_permalink()."\" alt=\"".the_title()."\" title=\"".the_title()."\">".kisa_baslik(22)."...</a></div>
</li> ";
endforeach;
?>
</ul>
Ne özürü hocam allah razı olsun yardımcı oluyorsun tesekkur ederim
Yeni kodda bu hatayı aldım
[23-Nov-2016 10:18:36 UTC] PHP Parse error: syntax error, unexpected ';', expecting ')' in /home/nhbdiziv/public_html/wp-content/themes/dizivfilm/index.php on line 40