Menambahkan Profile Author di WordPress

23 April 10

Jika anda sedang mengelola website bermesin wordpress dengan multi-author dan ingin menampilkan beberapa keterangan pada postingan misalnya statistik author, biographical info dan avatarnya, hem saya punya sedikit pengalaman untuk anda.
Saya telah mencobanya di blog, yaitu menampilkan profile author terdiri dari 4 jenis yaitu:

  1. avatar
    Untuk menampilkan avatar cukup dengan:

    <?php echo get_avatar( get_the_author_email(), '70' ); ?>

    70 adalah ukuran avatarnya dalam satuan pixel

  2. nama sekaligus link artikel
    Untuk menampilkan nama sekaligus link artikel cukup dengan:

    <?php the_author_posts_link(); ?>
  3. jumlah posting
    Untuk menampilkanjumlah posting cukup dengan:

    <?php echo $post_count; ?>
  4. biographical info
    Untuk menampilkan biographical info cukup dengan:

    <?php the_author_description(); ?>

Untuk semua yang ingin anda tampilkan tersebut jangan diikutkan dalam looping contentnya.. oh ya untuk mempercantik tampilannya jangan lupa untuk memberikan sentuhan pada CSS dengan selektor tersendiri…
OK, selamat mencoba.. ya πŸ˜€

22 responses to “Menambahkan Profile Author di WordPress”

  1. Kode kodengan ditaruh di bagian mana. mohon petunjuknya. terimakasih

  2. rochsid tehape says:

    bisa di taruh di file template mana saja kok..
    bisa di single.php, page.php… atau di index.php juga bisa…

  3. Blogiztic says:

    ahahahaha….berhasil,bos…. πŸ˜†

  4. andinoeg says:

    wah nyari-nyari caranya akhirnya nemu juga, thanks gan

  5. Great web site you hаνe got here.. It’s difficult to find high quality writing like yours nowadays. I seriously appreciate individuals like you! Take care!!

  6. Jefry says:

    ulasannnya singkat dan padat
    terima kasih atas ilmunya

  7. Wellness says:

    It’s going to be finish of mine day, however before end I am reading this impressive piece of writing to increase my knowledge.

  8. There are several reasons you may want to choose bigger breast implants, but before you do you should consider seriously
    all of the possible ways your choice may impact your
    life. Your chances for symmastia are slim, but know that most insurance does not cover breast augmentation revision surgeries,
    and so you will likely be paying out of pocket if you do
    need correctional surgery. Avoid lifting, bending, or straining as it can lead to more pain and
    discomfort which will prolong the healing.

  9. I don’t even know the way I finished up here, however I assumed this put up was great. I do not realize who you might be however certainly you’re going to a famous blogger in the
    event you are not already. Cheers!

  10. Fantastic items from you, man. I’ve be aware your stuff previous to and you are just extremely great. I actually like what you’ve bought here,
    certainly like what you are saying and the way by which you are saying it.
    You are making it entertaining and you continue to care for to stay it wise.
    I can’t wait to learn much more from you. That is really a terrific web site.

  11. gsm phone says:

    Your style is unique compared to other people I’ve read stuff from. Many thanks for posting when you’ve got the opportunity,
    Guess I’ll just bookmark this page.

    Feel free to surf to my homepage: gsm phone

  12. I have to thank you for the efforts you have put in writing this site.
    I am hoping to view the same high-grade content by you later on
    as well. In fact, your creative writing abilities has encouraged me to get my own, personal site now πŸ˜‰

  13. I’m curious to find out what blog platform you are utilizing? I’m experiencing some small security issues with my latest
    blog and I’d like to find something more safe. Do you have any suggestions?

  14. I’m impressed, I have to admit. Seldom do I encounter a blog that’s equally educative and
    amusing, and without a doubt, you’ve hit the nail on the head. The issue is an issue that not enough folks are speaking intelligently about. I am very happy I stumbled across this in my hunt for something regarding this.

  15. I am no longer certain the place you’re getting your information, but good topic. I needs to spend some time finding out much more or working out more. Thanks for great information I was in search of this info for my mission.

  16. Hello! I know this is kind of off topic but I was
    wondering if you knew where I could locate a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m havingg trouble finding one?
    Thanks a lot!

    my web page – where to buy gynexin

  17. Please know that these statements have not
    been evaluated by the US Food and Drug Administration. Having Concerta for a long time has some effects
    on the health of the user, like you will only lose weight
    as you take the medication, so you may need to stay on the medication for a long period of time.
    Instead of using diet pills find a diet that you can stick to and an exercise program that works for you.
    A slim and graceful figure boosts confidence and makes
    a person look beautiful and smarter. People should follow healthy eating habits and they should do physical exercise to
    keep their body slim and fit.

    My blog :: slimming pills that work

  18. To get her slim body back (left), the former party girl began her diet just two months after welcoming baby boy Lorenzo, making sure to stay under 1,300 calories per day.
    To put one together you can look online, read books or see a specialist
    like a personal trainer or dietitian. Discover more proven tips on how
    to lose weight vegetarian at now. However, each 11 days
    cycle of this diet only has one such day, so you should be able to
    tough it out.

  19. GC Trim Fast says:

    you are actually a good webmaster. The site loading pace is amazing.
    It sort of feels that you are doing any unique trick.
    Moreover, The contents are masterpiece. you have done a fantastic process on this matter!

  20. sfsdfsdfsd says:

    Very efficiently written story. It will be helpful to anyone who usess it, as well as myself. Keep doing what you are doing – can’r wait to read more posts.

  21. An interesting discussion is worth comment. I think that you should write more about this
    issue, it may not be a taboo matter but generally people do not speak about such issues.

    To the next! Kind regards!!

  22. Hi there friends, its enormous article on the topic of educationand entirely defined, keep
    it up all the time.

Tinggalkan Balasan

Alamat surel Anda tidak akan dipublikasikan. Isian wajib ditandai *