如何使用 bootstrap 放置图像而不是占位符 wordpress

How to place images instead placeholders wordpress with bootstrap

我需要使用 bootstrap template.How 在我的 Wordpress 主题中放置图像而不是灰色占位符图像,我可以自动执行吗? 请附上有关此信息的 link 好吗?

我认为这会对您有所帮助,但此解决方案使用了 jQuery、

$('.member a').each(function() {
        var text = $(this).text();    
        if(text == 'Unlock'){
            $(this).html(text.replace('Unlock', "<img src='"+templateUrl+"/image/unblck.png'"+" />"));      
        }else{
            $(this).html(text.replace('lock', "<img src='"+templateUrl+"/image/blck.png'"+" />"));
        }
    });