Hi,
Copy the class-content-post-list.php file from customizr theme and put it in the childthemefolder/inc/parts folder.
Make the following changes.
1. Comment the do_action line as shown below. Please search for the correct location in the tc_render_content_view function.
<section class="tc-content <?php echo $_layout_class; ?>"> <?php //do_action( '__before_content' ); //COMMENT THIS OUT. printf('<section class="%1$s">%2$s</section>', $_sub_class, $_content ); do_action( '__after_content' ); ?> </section>
2. Add the do_action line here in the tc_render_section_view function. Also swap the two lines following.
else if ( isset($_layout['show_thumb_first']) && ! $_layout['show_thumb_first'] ) { do_action('__before_content'); //ADD THIS LINE //AFTER SWAP THE TWO LINES APPEAR LIKE IT IS BELOW. TC_post_thumbnails::$instance -> tc_render_thumb_view( $_thumb_model , $_layout['thumb'] ); $this -> tc_render_content_view( $_content_model ); }
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 56 تاريخ : پنجشنبه 26 فروردين 1395 ساعت: 15:46