According to the plugin’s readme file, you can call a PHP function in your theme to display the likes, but that includes the buttons. Looking into that function shows the like count is coming directly from post meta, so you can use the same query the plugin uses to get the count:
$like_count = get_post_meta( $post_id, "_post_like_count", true );
In your theme where you want to print the count, you can use
echo esc_html( $like_count );
Related Posts:
- Update Multiple Post Meta for the Same Post In One call?
- Comparisson between date() and a date from wp_postmeta
- Show the “ratingValue” and “ratingCount” values of KK Star Ratings Plugin
- Updating post meta for custom post types
- How can I add a custom meta value on file upload?
- How to get custom field image url of specific size
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- Set attached to state
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Add multiple attributes to product from php
- Make the checkbox meta field checked by default
- Where to hook my plugin’s action
- Is there a filter for get_post_custom()?
- dynamically generating plugin syntax
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- Create digital-virtual-downloadable WooCommerce products from the frontend using Gravity Forms? [closed]
- What is generating my meta og:description?
- Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
- How to display the “ratingValue” and “ratingCount” values generated by the KK Star Ratings plugin into my page’s recipe ld+json schema
- get current date + 90 days and checking every day
- How can I change the meta_key for a particular piece of information?
- WordPress Post Visibility Options for Frontend
- Bulk update all posts from plugin settings screen
- Meta box losing its value when scheduled post is published
- How to insert multiple postmeta values with one query?
- Mass SQL WordPress Meta Key deletion
- Date format – Meta Box plugin
- get meta value from database by post id
- How to remove bulk actions from custom post type
- Adding custom meta boxes to specified custom post type
- How to select a paragraph other than the 1st to be the post’s excerpt?
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- How can I concatenate variables to search results title? [closed]
- Remember the Meta Value With Radio Buttons
- Link Posts to External URL
- Why does “updated_post_meta” did not fire when uploading media other than image?
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- Help to Create a Simple Plugin to make a post
- get_post_meta shortcode returns empty field
- Add an action based on custom post meta field
- how to auto random increment for post view
- How to securely controlling data without keeping it in postmeta?
- “Enable Media Replace” plugin does not update serialized object in WPMeta
- Custom Field used to allow a Free Story; no longer works
- Performance considerations – postmeta table versus new table for custom posts with foreign keys?
- Get and Update Most Meta Value as an array in HTML form
- How to create meta fields with more than 1 relation?
- Get value from an input field and pass into update_meta_data as $meta_value
- How to get post that has non zero or greater than zero meta value
- Delete postmeta when uninstall/delete plugin
- Same Title on two different post type with single custom taxonomy
- How can I make my plugin display custom post meta data on the front end?
- Storing values in Post Meta vs new tables
- Add meta tags with a plugin?
- WordPress User Frontend Editing Custom Fields
- wordpress last all added get meta value by post id
- Get post id in Post Page within Wp-admin
- getting image alt text via ACF plugin in WordPress [closed]
- Update post meta Rest Api
- how to add meta for order in woocommerce
- How to add custom html to the Media > Attachment Details modal?
- Unable to access WPadmin, website down
- ‘Active lotteries’ only custom query for woocommerce lottery plugin and elementor
- GTranslate Plugin – Showing Different Codes With if-else
- Can i have limit posts on a specific category and automatically remove older ones?
- manage_{taxonomy}_custom_column not working
- I want to set a different banner for each product in the woocommerce plugin on my wordpress site
- Suitable hook when creating, updating and deleting posts programmatically
- Refresh server side rendered block in Gutenberg without changing attributes or its content
- Disable auto-embed feature when pasting links in Gutenberg editor?
- How to add product thumbnail on orders list on backend?
- How to disable plugin capability : “create new category”
- Scripts don’t enqueue after removing plugin
- Plugins menu not on dashboard
- WordPress plugin not automatic update
- Ajax Called in Plugin php file
- Store large dataset in WordPress installation temporary
- How to edit the name of a plugin on wordpress.org/plugins
- How to save mediaupload multiple URLs as array meta?
- Ajax Load More stopped working (Plugin with repeater template, shows hidden Button)
- Why wordpress site is hitting itself
- I want create woocommerec match products columns
- How to be Variables and options must be escaped when echo’d?
- Remove embed url for internal links
- WordPress Custom Page Blog Template Pagination Problem (Pagination Not Displaying)
- How to override plugin function in code snippets WordPress
- how to make yoast seo read text from custom fields in custom post type
- How can I gather forums posted by visitors from different sites in one place? [duplicate]
- Does anyone recognize these table names?
- On WordPress.org Plugin repository, Last Updated Date doesn’t match with Plugin Version Update Date
- How to make content as required in custom post type?
- Categories not showing when all of the posts are private
- How to create a “Most Popular” & “Latest” TAB in WordPress
- Free multi dealer rental cars (sign up) [closed]
- is_user_logged_in() undefined at shutdown in plugin context
- What are Seeds? [closed]
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Any plugin installation and update overwrite current theme
- Request initiator chain contains old CDN