Where can all users on a site find their individual list of personal likes? My users have just begun registering so I need to know as soon as possible.
I see that I can use the Shortcode [oacsspl_profile]
to create a table for an individual user but I obviously can’t add that to each user’s profile page, so where can I add it?
There must be a way, perhaps in the [SolidPostLikesUserProfile.php]
file or another one, or using some custom CSS that I can add to my site, to accomplish this purpose. Otherwise, all the work we’ve done in getting this great little plugin to display has been in vain and it’s useless to me.
Can you take a few minutes from all the other projects you’re working on to solve this for me and others? Thank you SO much!
]]>I am using the Opera browser, and I’ve also tested this plugin in Chrome and Safari, both in regular and Incognito modes on a desktop and phone. I have the Master Switch set to Enable likes for all Posts, Pages, Media, and User Blogs, and have enabled full page caching support. The like button still doesn’t show up anywhere. The link I gave as a page for help is just an example because no page on my site shows it. Is it my SuperbTheme Customizable Blogily? It’s a WordPress theme.
I’d really like to use the plugin if you can tell me what I’m doing wrong. Thank you!
]]>Hi, I asked this question a few months ago and wanted to see if there were any new developments:
On the mentioned website above, I have been using the Solid Post Likes plugin for my client and she really likes it.
Unfortunately, the Like hearts are not shown on archive and search pages. However, since the website is a blog with a high search behavior of the readers, this would actually be a very important option.
You are also welcome to send me your feedback to [email protected].
Many thanks for your support and best regards from Berlin, Katja
{"status":"liked","icon":"\n <i class=\"oacs-spl-icon icon-thumbs-up\" style=\"color: #F40202; font-size: 1em; padding: 6px 3px 0px 0px;\"><\/i>","text":"<div class=\"oacs-spl-unlike-text\" style=\"color: #FE0000; font-size: 11px; padding: 0px 2px 0px 0px\"> Likes<\/div>","count":"<div class=\"oacs-spl-counter\" style=\"color: #F20000; font-size: 11px; padding: 0px 2px 0px 0px;\">2<\/div> ","comment":0}
This above code is shown when somebody likes a post through smartphone.
That’s obviously not OK? Can you help me fix it?
Kind regards,
Irene
]]>Hello guys!
My problem: I use the shortcode do_shortcode(‘[oacsspl]’); in a function that queries my blog posts, filtering them by a specific category. This function is placed in functions.php and no matter what I do, I can’t get anything desplayed.
What I’ve tried with no success:
Please tell me if is a solution for this issue. I love the simplicity and efficiency of this plugin and I would like to have the posibility to use it with WP_Query results.
Thanks!
]]>Hi there,
Great plugin.
I would like to see as follows but my code is failing, as it is not working:
// Add to admin post column
add_filter( 'manage_posts_columns', 'posts_column_likes' );
add_action( 'manage_posts_custom_column', 'posts_custom_column_likes', 5, 2 );
function posts_column_likes( $defaults ) {
$defaults ['oacs_spl_get_like_count( $like_count )'] = __('Likes');
return $defaults;
}
function posts_custom_column_likes( $column_name, $post_id ){
if ( $column_name === 'Likes' ) {
echo $oacs_spl_get_like_count($like_count);
}
}
Can you please provide some assistance?
Warm regards,
Irene
]]>Any plans on releasing an update to be compatible with WP 6.4 and improvements?
]]>Hello and thank you for the plugin!
Is there a way to use REST for the current plugin version? I can see that for toggling likes there would be an endpoint available: send a form with like data to {wordpress_domain}/wp-admin/admin-ajax.php
But what about fetching the likes for a specific comment / post?
Thank you in advance
]]>Hello,
We’ve been having trouble using Solid Post Likes on a multi-site. There are several problems. We install it and it is functional and customizable on the “parent” site. However on the “child” sites it isn’t working at all. If we click to try to change any of the settings, it tells us we do not have permission. This is not the case with other plugins on the site. Additionally, we find it does appear to be working, sort of, with the child sites even though we cannot customize. If we open up each entry individually, the Likes now appear and you can select or unselect to give a like. If, however, you try to open up the entry’s comments, it’s broken again. You can make multiple selections of like/dislike at seemingly random and throw the counts off.
We’re on WP 5.9, PHP 8.0 and are using the latest version of Solid Post Likes.
]]>Is there a way to disable likes for anonymous users?
]]>Has anyone tried the shortcode within a query loop and got it working?
]]>Hello
This plugin is wonderful. I have been looking for days for something similar and your plugin has amazed me for the simplicity and ease of use.
I am trying to display the likes button inside a Gutenberg query loop block by using the shortcode [oacsspl post_id] which as I understood reading the online documentation shows the likes counter of the current post.
For this I am using Generate Press and Generate Blocks. In the help forum of Generate Blocks, they indicate this way to execute a shortcode inside its own Query Block: https://generate.support/topic/shortcode-inside-gb-query-loop/#post-15556
With the above snippet I have managed to execute correctly other shortcodes, but however, it does not work using the shortcode [oacsspl post_id] nor the shortcode [oacsspl post_id=256] that should show the likes counter of my post ID: 256.
My question is am I trying to do something that is going to be incompatible with the way the Solid Post Likes plugin works?
What is the correct way to display the likes counter in a query loop?
Thanks for the help
Daniel
How to remove like button before and after of the content because I am currently using short code and it is showing two like button
]]>Hi,
Just a minor issue in the backend.
I can not remove the last item of the ‘Enable Likes for the following Post Types’ field – in order to make it empty and just work with shortcodes.
(to clear the list, you have to do edit the config value in the database)
lG Ulrich
When I try to add the Like Button via shortcode, the Button is not placed at the position of the shortcode but at the top left corner of the page.
In the source-code of the page, the code for the button is at the beginning of the <body>.
There seems to be a mixup in how the shortcode is evaluated.
I see the option to display likes on the profile backend. Is it possible to also have it on the frontend? A list of liked posts and comments via shortcode
]]>I’m on a localwp development site that was just recently set up. Post likes are working fine, but comment likes are breaking the comments. When I enabled that option, the comment content would move to the top of the site. [Screenshot]
I thought it was conflicting with another plugin since I have a lot of comment-related plugins activated, but even after deactivating those and other plugins that I think which may be interfering with it, the problem still persists.
I get this error, even tough I have not activated the like button on products. I can’t remove the action either. Also, I have not selected any post types, so I just want to implent the like button via shortcodes.
]]>The styling you’ve put on the selector “is-active” messes up other elements on my website with the same class. Can you be more specific about this selector so that it doesn’t affect other elements?
]]>The plugin works great on the single.php template using the shortcode, but is it possible to display the number of individual likes on the Posts Page, in my case the index.php template?
I’ve tried adding the shortcode to the template within the loop but nothing appears?
Any help would be appreciated.
Hi, thanks for this plugin.
I’d like to only show the counter if there are 1 or more likes. Is this possible?
]]>Hello.
In developers tab for this plugin I tried to reset likes manually on a page but 0 is not allowed, only 1 and up.
Had to go to the database to set it to zero.
]]>Hi,
After the recent SPL update on 9/27/22, I had the following error and an inability to see posts on the homepage, with a critical error message on post pages:
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, int given in /srv/htdocs/wp-content/plugins/solid-post-likes/views/SolidPostLikesPublic.php:67
Wordpress support deactivated SPL and the site is working fine now. But, I’d love to have my Likes back!
Info:
WordPress version 6.0.2
Active theme: Twenty Twenty (version 2.0)
Current plugin: Solid Post Likes (version 1.0.3)
PHP version 8.0.23
Please let me know if you need more error details, and thank you in advance!
]]>I get this Error ehen displaying the Like Plugin on my page;
Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, int given in SolidPostLikesPublic.php:67
Can you please have a look at this and provide a fix for this?
]]>Hello,
I have your plugin installed on two local environments and it was working fine, but now we are getting an error saying:
Notice: Undefined index: post_id in /Applications/MAMP/htdocs/downhome/wp-content/plugins/solid-post-likes/views/SolidPostLikesPublic.php on line 66
The posts are still able to be liked, and displays the likes too. However, the notice is still there and we are having trouble figuring out why. Can anyone help?
]]>As it currently shows on the left side and no options to put it on the right, how to show the count on the right?
]]>Hi there,
I really enjoy your plugin, but there are some issue with Oxygen Builder. When place shortcode in repeater (query loop) I got warning message in both post and archive page.
Can you elaborate to make it compatible with Oxygen Builder in some way, already tried another similar plugins – they do work, but most of them are outdate.
The Error:
Warning: Trying to access array offset on value of type int in /../../public_html/../wp-content/plugins/solid-post-likes/views/SolidPostLikesPublic.php on line 66
EDIT:
I found this piece of code on line 66:
$post_id = $post_id['post_id'];
If I change it to:
$post_id = get_the_ID();
Then it start to show in blog post and works, but it just dissapeared from blog archive when using it with shortcode.
]]>Bonsoir,
J’ai un site vitrine pour la photographie, j’ai des galeries photos et j’aimerais que les visiteurs puissent mettre un c?ur sur leurs photos préférées.
J’utilise l’extension “simply gallery” et soit il y a quelque chose que je ne fait pas comme il faut, soit votre extension ne fonction pas sur mon site. J’ai essayé avec le short code mais je n’ai que la possibilité de rajouter des codes CSS et à chaque fois que j’essai d’intégrer le shortcode j’ai un message d’erreur qui s’affiche.
Est-ce moi qui m’y prend mal?
Merci par avance pour votre retour.
————–
Good evening,
I have a showcase site for photography, I have photo galleries and I would like visitors to be able to put a heart on their favorite photos.
I use the extension "simply gallery" and either there is something I don't do right or your extension doesn't work on my site. I tried with the shortcode but I only have the possibility to add CSS codes and every time I try to integrate the shortcode I get an error message.
Am I doing it wrong?
Thank you in advance for your feedback.
Translated with www.DeepL.com/Translator (free version)
]]>
Hi,
I made a postgrid with piotnetgrids.
In the grid card template I put in the shortcode [oacsspl].
But there is no output on the frontend.
Can you help me please to debug this?
If you can give me an email adress, so I could send you login credentials.
Kind regards,
Ole
Hi,
thank you for this plugin.
Can you please add simple up/down arrow icons and/or a option to upload custom icons?
Kind regards,
Ole