Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Our basic WP navigation menu setup. See [this page](http://codex.wordpress.org/Function_Reference/wp_nav_menu) for more documentation.
0
778
posted 14 years ago by mindshare
Example of how to display HTTP error code and message on ajax response
0
961
posted 14 years ago by anagaiyahoocom
http://blog.ramonlechuga.com/2010/10/20/checking-object-structure/
The Array
0
751
posted 14 years ago by ramonlechuga
While working on the iteration of a blog with russian contents we had to change the slugs from cyrillic to transliterated russian.
[RusToLat](http://mywordpress.ru/plugins/rustolat/) is a great plugin that does just that, but unfortunately it onl...
0
982
posted 14 years ago by gryzzly
CSS3 button with a transparent glass effect (looks better on a textured background). A snapshot can be seen <a href="http://demos.pixelworkshop.fr/misc/css_button.jpg">Here</a>
0
1123
posted 14 years ago by Keliah
Updated to version 2.0 released January 2011.
See: http://meyerweb.com/eric/tools/css/reset/
2
1078
posted 14 years ago by SevenLayersDesign
**Important: this snipplet has moved to Github.**
- [Programmatically change the active theme in Drupal 6](https://gist.github.com/1973197)
- [Programmatically change the active theme in Drupal 7](https://gist.github.com/1973201)
2
2123
posted 14 years ago by wildpeaks
given a url:
>`http://www.someurl.com/page.html?param1=foo¶m2=bar`
You can use map.param1 outside of the function such as:
>`$('#some_hidden_field').val(map.param1);`
0
786
posted 14 years ago by agdm
Add this piece of code in your .htaccess file located in wordpress root directory
0
914
posted 14 years ago by kirichev
This is 3 lines of javascript code to tweetify plain text returned by Twitter API
Input : RT @TTintheCloud: How much are free #cloudcomputing trial offers from Google, Amazon and Microsoft actually WORTH? http://bit.ly/i4w4qa
Output : RT <a hre...
1
680
posted 14 years ago by naren1012
Most of this code is by:
http://www.wprecipes.com/get-tags-specific-to-a-particular-category-on-your-wordpress-blog
I simply added the Tag Cloud
0
946
posted 14 years ago by daif
Embed a video via PHP without using `the_content` filter in WordPress. From luckykind at http://wordpress.org/support/topic/call-function-called-by-embed-shortcode-direct
0
816
posted 14 years ago by jevets
First of all this refers to a clean Ubuntu 10.04 install with the LAMP and OpenSSH packages installed, but can probably be applied in most cases.
Duplicate the file /etc/apaches/sites-available/default, and name it subdomains.
Edit the new file...
1
984
posted 14 years ago by krillzip
Ported to PHP from here:
http://snipplr.com/view/48067/ (original: http://paulirish.com/2009/random-hex-color-code-snippets/)
2
1232
posted 14 years ago by ozke
See here for Amazon EC2 range
https://forums.aws.amazon.com/ann.jspa?annID=877
0
1149
posted 14 years ago by daipratt
Stolen from stetho -- All thanks to him -- Now, about your folder actions… http://bit.ly/fW9ExM
0
1111
posted 14 years ago by brandonjp
Stolen from stetho -- All thanks to AppleScript to convert CMYK to RGB values http://bit.ly/eP2mXS
0
1223
posted 14 years ago by brandonjp
A RestClient class for calling webservice using both, get and post methods, and getting the response dropped into an String.
0
786
posted 14 years ago by luixal
Modified regex of URL Matcher found on http://daringfireball.net/2010/07/improved_regex_for_matching_urls
0
872
posted 14 years ago by naren1012
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0
1608
posted 14 years ago by danideu
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0
1363
posted 14 years ago by danideu
CSS
MAIN CSS - Formulario Registro de Usuarios en PHP con validación de campos y activación por mail
Archivo CSS que se publica en el tutorial Formulario Registro de Usuarios en PHP con validación de campos y activación por mail creado por COLORATE .--> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-acti...
0
1547
posted 14 years ago by danideu
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0
1450
posted 14 years ago by danideu
Full credit for this goes to Deva Raj (@nsdevaraj). This is also a good function for doing a similar thing, http://snipplr.com/view/27954/as3-convert-a-number-to-a-string/
2
1380
posted 14 years ago by adrianparr
I have to migrate from my old Drupal 5 site, that had multiple authors assigned to one node, and this is the solution for __Drupal 7__.
First of all you will need to download [__References__](http://drupal.org/project/references) module and ena...
1
1026
posted 14 years ago by Turek