<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 08:07:22 +0000</lastBuildDate>
    <item>
      <title>(PHP) iLoveIt Wordpress Theme FB photo contest page template - SmashArtist</title>
      <link>https://snipplr.com/view/67722/iloveit-wordpress-theme-fb-photo-contest-page-template</link>
      <description>&lt;p&gt;This creates a custom page template designed to run a Facebook photo contest utilizing the Facebook like button and uses Wordpress featured images for each post in a grid.   &#13;
 &#13;
This setup requires the following: &#13;
- iLoveIt Wordpress Theme&#13;
- Create contest category for contestant entries&#13;
-Create contest page and select the contest page template.&#13;
- Gravity forms to create a custom contestant entry form with the following.&#13;
  ( Post title, Post Body, Featured Image, Email, etc.&#13;
&#13;
&#13;
Instructions:&#13;
The below snippet will add the FB like button below the featured image and add a custom voting text for the entry.&#13;
&#13;
&#13;
Step 1:&#13;
Go to your single.php and add this snippet below line 85.  Items that need changed are in CAPS.&#13;
&#13;
&lt;?php&gt;&#13;
                                               &#13;
&lt;div&gt; &lt;h1&gt; Vote for &lt;?php&gt; by hitting like! &gt;&gt;&lt;/h1&gt;&lt;/div&gt;&lt;div&gt;&lt;iframe&gt;ID)); ?&gt;&amp;amp;layout=box_count&amp;amp;show_faces=false&amp;amp;width=90&amp;amp;action=like&amp;amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:120px; height:60px"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;h3&gt;VOTE FOR ME!!!&lt;/h3&gt;&#13;
                                                &lt;/div&gt;&#13;
                                                &lt;style&gt; &lt;!--hide&gt; .share{display: none }&lt;/style&gt;&#13;
&lt;?&gt;&#13;
&#13;
&#13;
&#13;
Step 2:&#13;
Copy the template code and save it to your theme root as contest-page.php. You will then be able to assign the contest template to page that will show all entries in a grid layout, each photo will have it's own like button.&#13;
&#13;
 &#13;
&#13;
**Extra notes: You can still integrate this into any Wordpress theme, you'll just have to change it to fit your current theme. &#13;
Overall at least you have an idea of how this can be achieved and it is very powerful in terms of drawing traffic to your site.&lt;/p&gt;</description>
      <pubDate>Sat, 13 Oct 2012 08:27:12 UTC</pubDate>
      <guid>https://snipplr.com/view/67722/iloveit-wordpress-theme-fb-photo-contest-page-template</guid>
    </item>
  </channel>
</rss>
