Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Check and Set Default HTTP GET (Verifica e define padrão para parametro HTTP GET)
0
504
posted 12 years ago by cdohost
Print Debug Information (Exibe as informações de depuração)
0
615
posted 12 years ago by cdohost
Local/Remote Connection Strings (Dados para conexão local e remota)
0
454
posted 12 years ago by cdohost
Prevent direct access to php file (Prevenir acesso direto ao arquivo php)
0
559
posted 12 years ago by cdohost
Only Show Errors in Development Stage (Mostrar erros somente no estágio de desenvolvimento)
0
557
posted 12 years ago by cdohost
Simple function - just place it in your theme's functions.php file, save, and you're good to go. If an image in your content is missing the alt tag, it adds that posts title as the alt tag for the image.
It's been recommended to me that I shouldn'...
0
1212
posted 12 years ago by RainyDayMedia
Writes to a text file, test.txt, instead of email for the purposes of testing.
0
506
posted 12 years ago by hotdiggity
Once we login and are in the backend of WordPress, there is another small logo of WordPress displayed on top. It’s small but if you wish to change it, then add below code to the same functions.php file we created in above step.
0
468
posted 12 years ago by jamiebrwr
When a client wants to access the WordPress admin, the first thing they will notice is the login page with a WordPress logo. Wouldn’t it be better if this page had the logo of your client’s company or maybe yours? There are many simpler ways to d...
0
561
posted 12 years ago by jamiebrwr