Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Add this snippet to the functions.php to add 'Donate' Button on your Wordpress Website.
0
2054
posted 14 years ago by planetabhi
Add this snippet to the functions.php to render your twitter followers count.
Replace 'planetabhi' with your twitter screen name
0
2127
posted 14 years ago by planetabhi
Add this snippet to the functions.php of your wordpress theme. This will add a select menu with an automatically generated list of your shortcodes for your pages and posts.
1
1720
posted 14 years ago by planetabhi
This is just a quick and simple lazy way to do this, didn't feel like using a plug-in for something that is only used on one page...
0
1882
posted 14 years ago by thewickedchemist
This Query allows you to get the number of shares and other data associated with an URL in Json Format.
0
1837
posted 14 years ago by jhonqwerty
It can be useful to take a peek at what Apache is doing but I always forget the location of the Apache logs so I can use tail.
0
1925
posted 14 years ago by inreflection7
This is a base function to use with Joomla! to display the view using the Joomla cache system.
0
3017
posted 14 years ago by kevincam
Fooman GoogleAnalyticsPlus:
http://www.magentocommerce.com/magento-connect/fooman-googleanalyticsplus.html
The key to seeing the different steps in your checkout is ensuring a page view is triggered each time one of the sections of the checkout i...
1
2255
posted 14 years ago by TheJasonParker
Assuming that cell E15 contains a Belgina code consisting of four numbers
0
1918
posted 14 years ago by shahways
List of websafe fonts. Websafe (or "web safe", "safe for the web") fonts are supposedly fonts that are common among all versions of Windows, Mac, Linux, etc. Fonts that you expect everyone viewing your webpage to have.
0
2048
posted 14 years ago by praveensewak
Extend jQuery :selector types
Ex: $("input:text")
$("input:email")
1
1956
posted 14 years ago by inreflection7
Just paste the following snippet into your functions.php file and save it.
0
1971
posted 14 years ago by planetabhi
Credit goes to [shyul](http://forum.mamp.info/memberlist.php?mode=viewprofile&u=61837"shyul") and the original forum post here: [original_post](http://forum.mamp.info/viewtopic.php?t=14115"original_post")
You need to modify the following file " ...\...
0
2575
posted 14 years ago by manolis
For when you really just need a short description field along with a title for your slideshows. Just drop this into the functions.php and meteor-slideshow.php in the theme folder.
0
2597
posted 14 years ago by crypticsoft
Simple CSS Chess Board marked up with tables and styled with CSS3 psuedo classes. Basic use of :nth-child(odd) and :nth-child(even) to achieve the alternate black and white checkboxes. Check out the CSS code - it's dead simple!
0
1697
posted 14 years ago by jntu_gnec
This snippet will enable you to add shortcode to a wordpress custom field. Normally wordpress does not run shortcodes that you put into a custom field. Just put this code into whatever page you are displaying the results of the shortcode, and change...
0
2097
posted 14 years ago by leeboyce
Capture Web Screenshots easily with the [GrabzIt ](http://grabz.it/) Python API
You will need the free [GrabzIt Code Library](http://grabz.it/api/python/download.aspx) to get started.
1
2066
posted 14 years ago by Maximus1983
Here is a simple filter to automatically add a class attribute like widget-order-1 to all widgets within sidebars (from konstruktors.com)
0
2575
posted 14 years ago by lashon
Source: http://css-tricks.com/favicons-next-to-external-links/
0
1939
posted 14 years ago by thewickedchemist
Takes titles from a certain category and lists them in an unordered list.
0
1877
posted 14 years ago by thewickedchemist
WordPress test post, for theme development, style testing etc.
0
1891
posted 14 years ago by lunuledesign
This code allows the upload of files with extensions usually forbidden in wordpress
0
1658
posted 14 years ago by scienzedellevanghe
You can save this function in your common function file of config file, which must be included in the page which source code you want to see and simply add kode to the end of the URL and see the complete PHP code of that file on browser
0
2416
posted 14 years ago by xkeshav
A useful utility class to identify Throwables by creating a checksum (using a message digest, such as MD5 or SHA1) of its stack trace
0
1308
posted 14 years ago by dwijnand