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
590
posted 12 years ago by cdohost
Print Debug Information (Exibe as informações de depuração)
0
716
posted 12 years ago by cdohost
Local/Remote Connection Strings (Dados para conexão local e remota)
0
538
posted 12 years ago by cdohost
Prevent direct access to php file (Prevenir acesso direto ao arquivo php)
0
684
posted 12 years ago by cdohost
Only Show Errors in Development Stage (Mostrar erros somente no estágio de desenvolvimento)
0
652
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
1370
posted 12 years ago by RainyDayMedia
Writes to a text file, test.txt, instead of email for the purposes of testing.
0
592
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
567
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
666
posted 12 years ago by jamiebrwr
Change the small logo at the top of the dashboard: Just add to the bottom of your theme's functions.php file
0
599
posted 12 years ago by RainyDayMedia