• I love your theme. I have looked for a long time for a theme like yours. The only problem is that we will not be using images with each blog post. Can we get rid of the image placeholder that says there is no image? Can I cut out some code?

Viewing 1 replies (of 1 total)
  • Theme Author August Infotech

    (@augustinfotech)

    Hello czirkle,

    Yes you can surely remove the no-image placeholder from blog listing and detail page. For that you need to do the following:

    Remove the else condition part from the below code:

    <?php 
    
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
        the_post_thumbnail('portfilo-blog-listing-thumbnail',$portfilo_attr);
    						}
    else { ?>
         <img class="img-responsive" src="<?php echo PORTFILO_THEME_URI. '/images/no-img-portfolio.jpg'; ?>" alt="<?php the_title(); ?>" /> 
    
    <?php } ?>

    in the 2 files :
    1) content-post.php
    2) content-blog.php
    in the libs folder of the theme.

    If you face difficulty in doing so, you can provide us your email-id and we will mail you the edited files.

    Thanks & Regards,
    August Infotech

Viewing 1 replies (of 1 total)
  • The topic ‘No Photo’ is closed to new replies.