WordPress.org

Ready to get started?Download WordPress

Forums

Featured Posts Grid
Using FPG with another Plugin (2 posts)

  1. prelude1
    Member
    Posted 2 years ago #

    Hello.
    I'd like to have FPG use the authors photo which is uploaded by the user-photo plugin. I modified the section of code line 416 in featured-posts-grid.php to call the userphoto function.: $post_details[$key]['post_img_src'][0] = userphoto_the_author_thumbnail();

    However, the photo show up above the actual thumbnail. Using firebug shows that the src=''.
    Apparently the function retrieves the photo but isn't able to insert where I want? Here's the page:
    http://www.coachsomebody.com/library/

  2. prelude1
    Member
    Posted 2 years ago #

    Any help would be appreciated.
    Do I need to include anything else in the file? I'm a php novice.
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic