Line 81 of admin/admin-functions.php
has three errors, as far as I can see:
1) There is no test of whether the thumbnail is set on the if statement, which will lead to waings:
if ( $column == 'image' && has_post_thumbnail( $this_testimonial ) )
2 & 3) Rather than referring to $this_testimonial
you refer to $post
which is not set. The code should be:
get_the_post_thumbnail( $this_testimonial->ID, array( 50, 50 ), array( 'title' => trim( strip_tags( $this_testimonial->post_title ) ) )
)
https://wordpress.org/plugins/testimonial-rotator/
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 98 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 11:56