WordPress.org

Ready to get started?Download WordPress

Forums

FBF Facebook page Feed Widget
Link behind avatar, not title... (1 post)

  1. barcelonajoe
    Member
    Posted 1 year ago #

    Hi, I'm a bit of an amateur, but I have been able to disable titles and also copy some of the php in fbf-facebook-page-feed-widget/fbf_facebook_page_feed.php so that there is now a link to the posts from behind the avatar, post and the timestamp. All I wanted to do, however, was put the link behind the avatar.

    This is where I've put it:

    # Shows avatar of Facebook page
    if ($options['show_avatar'] != '') {
    $returnMarkup .="<div class=\"facebook_page-avatar\">get_permalink()." class='facebook_page-link' ".$link_target."><img src=\"http://graph.facebook.com/".$options['pageID']."/picture?type=".$avatar_size."\" alt=".$block->author." /></div>";
    }

    What have I done wrong?

    Thanks,
    Joe

    http://wordpress.org/plugins/fbf-facebook-page-feed-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic