Support » Plugin: BuddyPress Activity Plus » Link Image by default

Viewing 1 replies (of 1 total)
  • Hi @qobalt,

    I hope you are well today and thank you for your question.

    You can display default thumbnail when there isn’t any thumbnail available or if you check “no thumbnail” by copying the thumbnail image file in the root folder of your child theme and copying and editing BuddyPress Activity Plus template file in to your child theme as following.

    Plugin Template File:


    Edit the code in the above copied template file on line number 4 as following.

    Before Editing:

    <?php if ($image) { ?>

    After Editing:

    <?php $image = ( $image ) ? $image : get_stylesheet_directory_uri() . '/bpap-default-thumbnail.png'; ?>
    <?php if ($image) { ?>

    Best Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Link Image by default’ is closed to new replies.