Gravatar 头像Ⅱ

  • 内容
  • 相关


修改自ZSX 的Gravatar插件,修改了链接处理方式为Gravatar官方代码 

1,加入验证是否设置了 Gravatar 头像 而不是 Gravatar 默认的头像 








20170225 给判断开通G头像后是否是默认头像 加个开关...网络判断毕竟是有点慢的...但是缓存后就没关系了;




验证是否设置了 Gravatar 头像 而不是 Gravatar 默认的头像




 $atts=array( 'alt'=>'Gravatar', 'class'=>'ggravatar' ) ;

ggravatar_get( $email, $s = null, $d = null, $r = null,$img = false, $atts = array());


$atts非空才输出 img标签

atts array有值的时候会在img标签内 输出相关标签比如上面的代码里面的alt 和 class






本文链接:Gravatar 头像Ⅱ -


电子邮件地址不会被公开。 必填项已用*标注


  1. avatar

    Douglasplult Lv.1 Chrome 58.0.3029.81 Chrome 58.0.3029.81 Windows 8.1 x64 Edition Windows 8.1 x64 Edition 回复

    Trying To Find The Best Diet Pill?

    Trying to find the best diet pill may seem like an impossible task, especially with the multitude of diet pills available for purchase. Many people purchase a diet pill only to find out that the pill makes them feel jittery, nervous, or often has no effect at all.

    Diet pills frequently contain the same or similar combination of ingredients and rarely contain anything new, innovative, or undiscovered to the supplement / weight loss industry. So, how can you find the best diet pill when most diet pills are made with similar ingredients?

    One of the most common problems associated with taking diet pills is that the person taking the diet pill is uneducated about the dosage, effects, and promises offered as they relate to each diet pill. The research at website finds that there are three factors that should be taken into consideration when deciding to take a diet pill.

    It is important to take the pill exactly as recommended on the product label. Some people choose to increase the dosage thinking that the product will work faster or better. This is not the case, and many people become sick in response to the large dose. Reviewers at website often suggest that the recommended dosage be cut in half to give the body time to adjust to the stimulant in the diet pill. After the body has adjusted, it is fine to begin taking the regular dosage as recommended on the product label.

    The effects listed on the product label are there because these are the effects that the product has had on 'some' of the test group. Some of the diet pill testers may be fine taking the product, while others may have adverse effects. The diet pill companies print this information to educate the buyer as well as to protect themselves from lawsuits. The consumer needs to read the label and educate themselves before taking the product. Many people who are sensitive to caffeine are surprised when the diet pill makes them feel nervous or nauseous, but this information is likely printed on the product, so with a little research these affects can be avoided.

    If you read the fine print on product claims for diet pills and other weight loss supplements, you will see 'results not typical' printed very small somewhere where you are not expected to look. The diet pills advertised on television are responsible for some of the most outlandish claims. The results claimed in these advertisements are often unattainable within the given amount of time outlined in the ad. Don't expect to see results in two weeks like a lot of ads claim.

    Wouldn't it be great if you could read reviews for diet pills from actual users of each diet pill? Diet Pill Reviews website has taken the trouble out of searching for the best diet pill. You can read reviews of over 150 of the most popular diet pills available.

    Copyright 2006, Diet Pill Reviews  [url=]viagra pas cher[/url]


    1. avatar

      冷知识 Lv.1 Firefox 54.0 Firefox 54.0 Windows 7 x64 Edition Windows 7 x64 Edition 回复


      北京市 联通

      1. 吴凯旋 Sogou Explorer Sogou Explorer Windows 8.1 x64 Edition Windows 8.1 x64 Edition 回复

        回复了冷知识:表情 好吧

        河北省保定市 电信

    00:00 / 00:00