2015-07-22 48 views

回答

0

试试这个:(在functions.php

add_filter('the_content', 'featured_image_before_content'); 

function featured_image_before_content($content) { 
    /* if (is_singular('post') && has_post_thumbnail()) { */ 


     $content = 'YOUR DATA'. $content; 

    /* }*/ 

    return $content; 
} 

你可以从这里补充条件:LINK

相关问题