Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 116 117 118 119 120 ... 147
Enable the use of Custom Fields in Wordpress. This is the code to put into the markup. Related plugin: get-custom-field-values
0 1257 posted 16 years ago by taqin
0 872 posted 16 years ago by splotchy
0 920 posted 16 years ago by joelambert
This example will display the full content of the five most recent posts, and just the headlines from the five before that.
1 2388 posted 16 years ago by kwilson
This allows you to get contents of any div with ID tag. $matches[0] returns with parent div tag $matches[1] returns with out parent div tag
1 3449 posted 16 years ago by Gustavs
0 720 posted 16 years ago by zugec
Re: Same Variables, Many Pages Link to this post From
0 733 posted 16 years ago by petterdr
0 886 posted 16 years ago by kawikak
3 1613 posted 16 years ago by smoover
Rather simple profiler for > php5, if you want to find out where the heck those 0.5 sec function time goes into
0 780 posted 16 years ago by birdspider
This used to be code adapted from Z'Oc, but I decided to start again and write it fresh with WP_Query instead of get_posts.
3 1109 posted 16 years ago by kristarella
1 798 posted 16 years ago by zugec
1 1029 posted 16 years ago by zugec
For a client I needed a bit of code that could split one file (html, editable through wysiwyg editor) to multiple files, since all files would by default become very long. This code splits one file by the <h1> tag. Easy for end-users to set. Use CSS...
0 1242 posted 16 years ago by axtg
this codings display welcome message , curent date and greetings
0 801 posted 16 years ago by beamconsultancy
1 1052 posted 16 years ago by resurge
Use this function to validate cookies set by Facebook Connect JS API
0 1284 posted 16 years ago by ping_ch
0 1018 posted 16 years ago by pashky
This will create a Navigation from a MySQL database table names. It removes the table name "includes" by default so you can see how to remove any certain tables you wish to not use as a site section. Just plug in your MySQL database details and co...
3 1419 posted 16 years ago by jiggyhat
Este codigo inserta un registro en una base de datos mysql utilizando PHP
0 1356 posted 16 years ago by denker
1 1038 posted 16 years ago by sveggiani
0 851 posted 16 years ago by robksawyer
A simple replacement for print_r or whatever you use to display debug info.
2 1271 posted 16 years ago by PeteW
Magento Storeview über Flaggenbuttons steuern statt über Dropdown
0 898 posted 16 years ago by nico65
use this to cache a remote file with xml, json etc
2 1617 posted 16 years ago by jimmysessions
1 ... 116 117 118 119 120 ... 147