




















<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How To Add Likes to Posts in WordPress (Without a Plugin)	</title>
	<atom:link href="https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/</link>
	<description>Web design tutorials, snippets and freebies</description>
	<lastBuildDate>Wed, 17 Jan 2024 18:09:53 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		By: Lester		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-42992</link>

		<dc:creator><![CDATA[Lester]]></dc:creator>
		<pubDate>Sat, 07 May 2022 23:55:23 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-42992</guid>

					<description><![CDATA[Hi, i like the code. But can you show the most like post base on the like button thanks...]]></description>
			<content:encoded><![CDATA[<p>Hi, i like the code. But can you show the most like post base on the like button thanks&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sajad azan		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-37841</link>

		<dc:creator><![CDATA[sajad azan]]></dc:creator>
		<pubDate>Tue, 07 Dec 2021 12:29:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-37841</guid>

					<description><![CDATA[hey, thanks, I have a problem to use this code. when I duplicate a post, likes and dislikes do not become 0]]></description>
			<content:encoded><![CDATA[<p>hey, thanks, I have a problem to use this code. when I duplicate a post, likes and dislikes do not become 0</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sajad azan		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-37840</link>

		<dc:creator><![CDATA[sajad azan]]></dc:creator>
		<pubDate>Tue, 07 Dec 2021 12:28:24 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-37840</guid>

					<description><![CDATA[hey, thanks, I have a problem to use this code.
when I duplicate a post, likes and dislikes do not become 0]]></description>
			<content:encoded><![CDATA[<p>hey, thanks, I have a problem to use this code.<br />
when I duplicate a post, likes and dislikes do not become 0</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Caucasian		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-34581</link>

		<dc:creator><![CDATA[Caucasian]]></dc:creator>
		<pubDate>Sat, 18 Sep 2021 21:13:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-34581</guid>

					<description><![CDATA[Hi,
Thanks for your article. I have a question. 

I don&#039;t want to add for the whole post. What should I do to add a like button after each item/paragraph in the article? Can you help with this?]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
Thanks for your article. I have a question. </p>
<p>I don&#8217;t want to add for the whole post. What should I do to add a like button after each item/paragraph in the article? Can you help with this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tertia		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-29584</link>

		<dc:creator><![CDATA[Tertia]]></dc:creator>
		<pubDate>Mon, 15 Mar 2021 03:02:07 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-29584</guid>

					<description><![CDATA[Oh thank god, an article that actually gives code and not just the usual shitty &quot;want this functionality? download a plugin :-)&quot;]]></description>
			<content:encoded><![CDATA[<p>Oh thank god, an article that actually gives code and not just the usual shitty &#8220;want this functionality? download a plugin :-)&#8221;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: chris		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-25747</link>

		<dc:creator><![CDATA[chris]]></dc:creator>
		<pubDate>Wed, 14 Oct 2020 12:20:34 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-25747</guid>

					<description><![CDATA[Nice snippet.
Would it be possible if I modify this to just have a single button, where you can click for like and unclick to retract like? I am wanting like a heart button.]]></description>
			<content:encoded><![CDATA[<p>Nice snippet.<br />
Would it be possible if I modify this to just have a single button, where you can click for like and unclick to retract like? I am wanting like a heart button.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pedro		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-23645</link>

		<dc:creator><![CDATA[Pedro]]></dc:creator>
		<pubDate>Wed, 06 May 2020 15:48:50 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-23645</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-17537&quot;&gt;Haripal Reddy&lt;/a&gt;.

Same in here. Did you solve that problem easily?
Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-17537">Haripal Reddy</a>.</p>
<p>Same in here. Did you solve that problem easily?<br />
Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Haripal Reddy		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-17537</link>

		<dc:creator><![CDATA[Haripal Reddy]]></dc:creator>
		<pubDate>Fri, 06 Dec 2019 10:55:18 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-17537</guid>

					<description><![CDATA[Your code works fine. But it need to be unique per 1 ip address. When i click 2 likes the number increases to 2 but it should be 1 per one ip. How can we do that.]]></description>
			<content:encoded><![CDATA[<p>Your code works fine. But it need to be unique per 1 ip address. When i click 2 likes the number increases to 2 but it should be 1 per one ip. How can we do that.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Fernando Giroto		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-9411</link>

		<dc:creator><![CDATA[Fernando Giroto]]></dc:creator>
		<pubDate>Mon, 26 Aug 2019 11:05:15 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-9411</guid>

					<description><![CDATA[Great article!
I Followed and managed to do on my site. My question is if I could do it without having to refresh the page. Thank you]]></description>
			<content:encoded><![CDATA[<p>Great article!<br />
I Followed and managed to do on my site. My question is if I could do it without having to refresh the page. Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Fernando Giroto		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-9039</link>

		<dc:creator><![CDATA[Fernando Giroto]]></dc:creator>
		<pubDate>Thu, 22 Aug 2019 14:00:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-9039</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-6870&quot;&gt;Phuong&lt;/a&gt;.

Any awnser? Thaaanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-6870">Phuong</a>.</p>
<p>Any awnser? Thaaanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaryan Sharma		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-7787</link>

		<dc:creator><![CDATA[Aaryan Sharma]]></dc:creator>
		<pubDate>Tue, 06 Aug 2019 11:08:48 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-7787</guid>

					<description><![CDATA[Thank you so much for this, i tweaked the php code so that the like/dislike buttom come at the bottom of the post but that was very easy. Changed the css to my liking and it works perfectly. I usually don&#039;t comment but you deserve it! Great work.]]></description>
			<content:encoded><![CDATA[<p>Thank you so much for this, i tweaked the php code so that the like/dislike buttom come at the bottom of the post but that was very easy. Changed the css to my liking and it works perfectly. I usually don&#8217;t comment but you deserve it! Great work.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Phuong		</title>
		<link>https://www.inspirationalpixels.com/add-likes-to-wordpress-posts/#comment-6870</link>

		<dc:creator><![CDATA[Phuong]]></dc:creator>
		<pubDate>Sun, 14 Jul 2019 12:03:02 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4484#comment-6870</guid>

					<description><![CDATA[Thank for your sharing. May i have your AJAX version?]]></description>
			<content:encoded><![CDATA[<p>Thank for your sharing. May i have your AJAX version?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
