WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem with Free Fu ( comments.php ) (7 posts)

  1. Prim3r
    Member
    Posted 7 years ago #

    Hello.

    I recently instaled the Theme Free Fu, and im doing some modifications to my taste and its done.

    Problem is it seams that the theme cames with some sort of code problem on comments.php , and since im a bith dumb in coding i came to you guys for help...

    The error im getting is :

    Fatal error: Call to undefined function: gravatar() in /home/prim3r/public_html/wp-content/themes/free-fu-10/comments.php on line 12

    the line 12 is :

    <li id="comment- <?php comment_ID() ?>" class="comment">

    is there something wrong in this line?

    The website is : http://prim3r.myfxh.com

    a test coment is here : http://prim3r.myfxh.com/?p=3

    Thanks in advance for your help :)

  2. vkaryl
    Member
    Posted 7 years ago #

    Look in the style.css file for this: #comments .gravatar. Delete that block of css code. You should be good to go.

  3. Prim3r
    Member
    Posted 7 years ago #

    Hi.

    Didnt work :( same error. Im gonna copy the cooments part on styles to see if the problem is somewhere else..

    #comments .comment
    {
    clear: left;
    }
    #comments .commentname
    {
    border-bottom: 2px solid #000;
    width: 100%;
    display: block;
    background: url("images/name.png") center no-repeat;
    text-indent: 13px;
    color: #000000;
    }
    #comments .commentname a
    {
    color: #b9eeff;
    border: 0;
    line-height: 21px;
    }
    #comments .commenttext
    {
    float: left;
    margin-left: 10px;
    }

    #comments .gravatar
    {
    float: left;
    margin-top: 10px;
    }

    thaks again for your time. :)

  4. vkaryl
    Member
    Posted 7 years ago #

    You need to delete that #comments .gravatar block, and you might want to take background: url("images/name.png") center no-repeat; out of the #comments .commentname block.

  5. Prim3r
    Member
    Posted 7 years ago #

    did both... same error,It didnt work.. :(

    Gonna keep trying...

  6. sadish
    Member
    Posted 7 years ago #

    you need to install some plugin for the gravatar functionality i think. check with the theme author first.

    or you may have to delete the call to gravatar() from the comments.php.

  7. Prim3r
    Member
    Posted 7 years ago #

    Well... i solved my problem in a "test" way... i just copy past the entire comments.php from another random theme... and its working... its not exactly the better way to solve problems, but.. :)

    Thanks again for your time :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags