Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 35 36 37 38 39 ... 147
Simple call imageExists('http://example.com/image.jpg'); true if it exists else false.
0 1719 posted 14 years ago by MichaelM
En algunos escenarios es posible que ante ciertas acciones o resultados, debamos modificar algún valor que se encuentra en la configuración general de Magento. Para modificar un valor de la configuración general de forma programática (si, suen...
0 1248 posted 14 years ago by necode
Quick fix to tweak output for WordPress wp_list_pages()
0 1299 posted 14 years ago by digitalclubb
used as so <style> .logo { background: url("<?php>") no-repeat right 5px; } </style> or <img src="<?php>"/>
0 1363 posted 14 years ago by alyssonweb
0 1384 posted 14 years ago by karmacode
Switches 'dd mm yyyy' to 'yyyy-mm-dd'
0 1391 posted 14 years ago by nebojsac
WordPress allows you to embed videos so easily using oEmbed. You can easily add videos to your post just pasting their URL to your post. WordPress handles all the object and embed HTML for you. But this code is missing wmode parameter which is necess...
0 1468 posted 14 years ago by paulgrenwood
Basic sample courtesy of John Martin @ www.bigspring.co.uk/
0 1414 posted 14 years ago by beneberle
0 1156 posted 14 years ago by jretamal
Set the correct path to use php cli in Terminal, with Mamp instead of default php installation of Osx.
0 1430 posted 14 years ago by macodev
Takes a number (no decimal) and converts it to written words.Why'd i write it to be able to do such big numbers? Why not? Note: The numbers next to the 'thousandfoldnums' are for your reference (thats how many zeros/places there are in that numbe...
0 1686 posted 14 years ago by lasavior
Allows you to change the name of the "Posts" module within the admin section of WordPress.
0 1287 posted 14 years ago by jamiebrwr
1 1517 posted 14 years ago by focal55
0 1241 posted 14 years ago by slav123
Verify if a user is a fan of a page
0 1194 posted 14 years ago by jretamal
Prints layout Handles.
0 2329 posted 14 years ago by JustMadMike
In case you need to create your own listing of the last # of trailing months of Archived Wordpress Articles. This one is being used to pull the info onto a Magento page.
0 1299 posted 14 years ago by cpres
Rescatamos los datos que pasamos por apprequest .
0 2623 posted 14 years ago by serialk89
Rescato variables desde un iframe con $signed_request
0 2572 posted 14 years ago by serialk89
add this to functions.php and you won't have to mess with the index page.
0 2404 posted 14 years ago by cpres
How long customer is inactive ?
0 1343 posted 14 years ago by necode
There are a few modifications to make to your WP files to share a single database between multiple installs on separate domains.
0 1137 posted 14 years ago by lancemonotone
Good for showing labels/descriptions that accompany custom fields when they are set, and avoiding lots of empty labels. Eg: if there is no content set in the 'project-agency' field, don't show the label 'Agency:', but if there is, show it with the...
0 1308 posted 14 years ago by wahnbriefe
0 1096 posted 14 years ago by sridhar
0 978 posted 14 years ago by sridhar
1 ... 35 36 37 38 39 ... 147