Jetpack by WordPress.com
[resolved] Display like number elsewhere in post? (3 posts)

  1. davidknight42
    Posted 2 years ago #

    Hi all,

    Is it possible to display the amount of likes a post has from Jetpack elsewhere on the content? So am thinking a text link similar to amount of comments that says "Post liked X Times"

    I see that theres a column for amount of likes in the admin area so am hoping that information is being pulled from the database rather than wordpress.com so its accessible to a template.

    Thanks for any help


  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    Jetpack uses the following file to count the number of Likes:

    You should be able to use the same function to display the number of Likes anywhere on your site, as long as the file above is loaded on the page.

  3. davidknight42
    Posted 1 year ago #

    Sorry for the late reply. Thank you Jeremy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic