Tên Khác : <?php echo get_post_meta($post->ID, "phim_en", true); ?> <br /> Thời Lượng :<?php echo get_post_meta($post->ID, "phim_tl", true); ?> <br /> Năm Sản Xuất: <?php echo get_post_meta($post->ID, "phim_nsx", true); ?> <br /> <br /><hr /><br /> <?php echo get_excerpt_content(40, '', 0, $post->post_content); ?> " href="<?php the_permalink(); ?> " title="<?php the_title(); ?> - <?php echo get_post_meta($post->ID, "phim_en", true); ?> "><img src="<?php img(146, 195); ?> " alt="<?php the_title();
function get_film_home($type, $num = 28, $excerpt_length = 40) { global $post; // tao cache query_posts('post_type=post&showposts=' . $num . '&meta_key=phim_loai&meta_value=' . $type . '&paged=' . $q . '&order=desc'); while (have_posts()) { the_post(); $html .= '<li><div class="inner"><a data-tooltip=" <span class=\'title\'>' . get_the_title() . '</span><br /> ' . get_excerpt_content(60, '', 0, $post->post_content) . ' " href="' . get_permalink() . '" title="' . get_the_title() . '"> <img src="' . img3(146, 195) . '" alt="' . get_the_title() . '"/></a> <div class="info"><div class="name"><h3><a href="' . get_permalink() . '" title="' . get_the_title() . '">' . get_the_title() . '</a></h3> </div> <div class="name2"><h4>' . get_post_meta($post->ID, "phim_en", true) . '</h4></div> <div class="stats"><span class="liked">' . the_views($post_views->ID) . ' </span></div> <h5 style="text-indent:-9999px;">' . get_excerpt_content($excerpt_length, '', 0, $post->post_content) . '</h5></div> <!-- <div class="status"><span class="status_r">' . get_post_meta($post->ID, "phim_tl", true) . '</span></div> <div class="g-status"><span class="status_g">' . get_post_meta($post->ID, "phim_nsx", true) . '</span></div> --> <div class="f_tag"> <div class="f_t_f"></div> <div class="f_t_c">' . get_post_meta($post->ID, "phim_tl", true) . '</div> <div class="f_t_e"></div> <div class="clr"></div> </div> <div class="f_tag g-year"> <div class="f_t_f"></div> <div class="f_t_c">' . get_post_meta($post->ID, "phim_nsx", true) . '</div> <div class="f_t_e"></div> <div class="clr"></div> </div> </div></li> '; } wp_reset_query(); return $html; }
function get_film_home($type, $num = 16, $excerpt_length = 40) { global $post; // tao cache query_posts('post_type=post&showposts=' . $num . '&meta_key=phim_loai&meta_value=' . $type . '&paged=' . $q . '&order=desc'); while (have_posts()) { the_post(); $html .= '<li><div class="inner"><a href="' . get_permalink() . '" title="' . get_the_title() . '"><img src="' . img3(146, 195) . '" alt="' . get_the_title() . '"/></a><div class="info"><div class="name"><h3><a href="' . get_permalink() . '" title="' . get_the_title() . '">' . get_the_title() . '</a></h3> </div><div class="name2"><h4>' . get_post_meta($post->ID, "phim_en", true) . '</h4></div><div class="stats"><span class="liked">' . get_total_rating($post->ID, "like") . ' like</span></div><h5 style="text-indent:-9999px;">' . get_excerpt_content($excerpt_length, '', 0, $post->post_content) . '</h5></div><div class="status"><span class="status_r">' . get_post_meta($post->ID, "phim_tl", true) . '</span></div></div></li> '; } wp_reset_query(); return $html; }