Support » Plugin: FBF Facebook page Feed Widget » Remove Photos

Viewing 4 replies - 1 through 4 (of 4 total)
  • I like to be answered this question al well.

    esmi

    (@esmi)

    Forum Moderator

    Plugin Author lakshmananphp

    (@lakshmananphp)

    Hi otfromtot and vinkdtp,

    Sorry for the delayed response.

    To remove images from feed description:

    1)Edit the plugin file
    wp-content/plugins/fbf-facebook-page-feed-widget/fbf_facebook_page_feed.php
    2)add this code before line no 119
    $desc = preg_replace(“/<img[^>]+\>/i”, ” “, $desc); // Removes images from description
    4)Save the file.
    5)Take a backup of the old file and overwrite the modified file in your website(wp-content/plugins/fbf-facebook-page-feed-widget/).

    Now the images should be removed.

    Please let me know if you face any issues.

    Thanks
    Lakshmanan.

    Awesome, I will update that as soon as I get the chance. I was able to make my own fix that seems to work, but I haven’t tested it in older browsers.

    <div id="fb">
    [facebook_page_feed]
    </div>
    <style>
    #fb img {
     visibility:hidden;
     display:none;
    }
    </style>

    This is used in unison with the widget shortcode plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Photos’ is closed to new replies.