Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Based upon http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/
0
913
posted 13 years ago by withinmedianl
Create excerpts from text block from your wordpress content and add links page / post from the guid.
0
911
posted 13 years ago by prwhitehead
works in all the major browsers that support adding to bookmarks, FF, IE, Opera. Safari and Chrome dont support this, so for them, a nice message :)
1
1082
posted 13 years ago by prwhitehead
In the User settings, there is a web form called Contact Info. It has input fields for the user’s AIM account, Yahoo IM account, and so on.
But how about Twitter? What about Facebook? Out of the box, the Contact Info panel doesn’t have these i...
0
857
posted 13 years ago by blueocto
This is a great place to add your own custom Help text for a client. You can even customize it for different Admin panels. For example, you can add a different Help text for the Add New Post panel and another one for the Comments panel.
Here’s h...
0
842
posted 13 years ago by blueocto
It’s possible to disable it conditionally for each WordPress user by going to Users > Your Profile. However, if you want to remove it completely, you can add the following filter:
0
812
posted 13 years ago by blueocto
The special characters in the file name caused problem when the exported to iphone application.
0
776
posted 13 years ago by punuhan
I pinched the get_avatar() function from the wp/wp-includes/pluggable.php file and commented out the setting of the avatar as an <img> tag and returned the actual image url instead.
0
700
posted 13 years ago by camdagr8
This is how you can add a file/image upload tool to your forms and have AJAX store the file with PHP and return a thumbnailed version to the user for display on the form. Nice.
2
821
posted 13 years ago by jquery4u
Use jQuery get rss (with JavaScript) to get a blogs (or websites) display rss feed on your web page.
1
743
posted 13 years ago by jquery4u
This is how you can create page box elements that are loaded via AJAX and can be refreshed instantly without a whole page reload.
0
666
posted 13 years ago by jquery4u
These days when you are using forms you need some sort of protection from bots and spammers.
2
692
posted 13 years ago by jquery4u
So today I created a html image map which creates dynamic links based on the color of the pixel that the user clicked.
0
774
posted 13 years ago by jquery4u
simple pass the file name and that file will be available for download
0
867
posted 13 years ago by kumar_sekhar
Simply define your POSTURL and POSTVARS in name = value string format. It will post the form.
0
957
posted 13 years ago by kumar_sekhar
An example of Karatsuba algorithm for multiplication of n digit numbers.
0
885
posted 13 years ago by josepino