My blog don’t have any images. http://705.987.myftpupload.com/test-2/
it showing some default image above title . I want to remove this. How to do that?
I want to remove it completely. Don’t want to hide it by css
Hey pmwarman,
To remove this default image, go to the includes/ loop-index.php (don`t forget that is necessary to use it in the Theme Child) and delete this code at 122 to 147 line:
$icon = '<span class="iconfont" '.av_icon_string($post_format).'></span>';
if(strpos($blog_style, 'multi') !== false)
{
$gravatar = "";
$link = get_post_format_link($post_format);
if($post_format == 'standard')
{
$author_name = apply_filters('avf_author_name', get_the_author_meta('display_name', $post->post_author), $post->post_author);
$author_email = apply_filters('avf_author_email', get_the_author_meta('email', $post->post_author), $post->post_author);
$gravatar_alt = esc_html($author_name);
$gravatar = get_avatar($author_email, '81', "blank", $gravatar_alt);
$link = get_author_posts_url($post->post_author);
}
$blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>";
}
else if(strpos($blog_style, 'small') !== false)
{
$blog_meta_output = "<a href='{$link}' class='small-preview' title='{$featured_img_desc}'>".$slider.$icon."</a>";
}
echo apply_filters('avf_loop_index_blog_meta', $blog_meta_output);
echo "</div>";
Let me know if it works :)
Best regards,
John Torvik
Thanks it working. But Last line echo “</div>”; cannot removed. It i remove it, Content width reduced. I removed all lines except last one. It working. Now no image showing.