Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 30 31 32 33 34 ... 147
0 665 posted 12 years ago by focal55
This creates a theme options page for a wordpress theme.
0 614 posted 12 years ago by ddavidd
Replace in modules\mod_menu\tmpl\default_component.php
0 653 posted 12 years ago by vyatka
Update a Git repo with PHP
0 568 posted 12 years ago by adampatterson
0 574 posted 12 years ago by kidmizere
This is a very rudimentary function used to convert a Datetime delivered by the Twitter API to a format you can store in MySQL's datetime field.
0 1274 posted 12 years ago by aristoworks
Script para usar la librería PHP Mailer para enviar un mail usando gmail como servidor SMTP. Se debe descargar la librería phpMailer (www.phpmailer.worxware.com). Se usa una plantilla html para maquetar el cuerpo del mensaje. Desde un serv...
0 757 posted 12 years ago by alberomo
Place at the top of your header.php to redirect visitors who are not logged-in to the Wordpress admin. I use this to redirect to a simple HTML 'coming soon' page while sites are in development.
1 669 posted 12 years ago by adambundy
1. Get Posts however you see fit 2. Loop through the posts getting the terms from taxonomies and add them to the Post object 3. Sort the Array of Post Objects by the property you want them sorted by using sort_on_field()
0 1060 posted 12 years ago by kingkool68
Adds a class to the standard classes in Images in Posts/Pages
0 627 posted 12 years ago by maxxscho
Remove the Attributes in <img> - Tags in the Post/Page Content
0 516 posted 12 years ago by maxxscho
0 533 posted 12 years ago by erraja_07
Sometimes a legacy database will have HTML entities stored in it. This function converts them. Note that this function assumes you have a database abstraction layer, and may need to be modified to connect to YOUR database.
0 1904 posted 12 years ago by f6design
0 404 posted 12 years ago by bisaram
Show wp categories in drop down list like ...
0 828 posted 12 years ago by webtechdev
In this blog, we will see how to add custom fields to magento onepage checkout steps. This method can be used to add custom field to any step in the checkout page, although in the current blog i have demonstrated how to add it to the billing step. T...
0 522 posted 12 years ago by etechblog
1 ... 30 31 32 33 34 ... 147