WordPress.org

Support

Support » Plugins and Hacks » BuddyPress Activity Plus » [Resolved] Link Image by default

[Resolved] 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:

    wp-content\plugins\buddypress-activity-plus\lib\forms\link_tag_template.php

    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,
    WPMU DEV

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