Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 44 45 46 47 48 ... 147
Este código pagina los resultados de wordpress, según los parámetros que se le asignen a la clase WP_query.
0 783 posted 13 years ago by serialk89
hook_theme implementation with description
0 642 posted 13 years ago by kfiil
How to get a menu in a preprocess function
0 592 posted 13 years ago by kfiil
0 709 posted 13 years ago by stephcode
This post will show you how to make your theme generate thumbnails automatically, based on your post’s first image. Uses timthumb to resize
0 825 posted 13 years ago by dnnsldr
Replace standard query_posts with the snippet to enable pagination on pages with a custom loop. Be sure to change out "somecat" with your category or add additional query arguments.
0 595 posted 13 years ago by rickfu
0 536 posted 13 years ago by screamwork
0 733 posted 13 years ago by dubogii
0 788 posted 13 years ago by dubogii
0 885 posted 13 years ago by dubogii
the POSIX Regex functions are deprecated in PHP 5.3.0 and removed in PHP 6. http://us2.php.net/manual/en/function.eregi-replace.php
0 892 posted 13 years ago by dubogii
compress & combine CSS files and param theme with PHP vars
0 1057 posted 13 years ago by giak
this creates a function inside a widget object to create a dropdown menu with all the custom post types created in wordpress functions.
0 840 posted 13 years ago by hugosolar
As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister
0 746 posted 13 years ago by thefricky
In die functions.php des Themes einfügen.
0 761 posted 13 years ago by gabbo
1 834 posted 13 years ago by odenijs
When creating a WordPress based website for a client, you may need to make sure that he can’t switch themes. This is what I’m going to show you in today’s recipe.
0 734 posted 13 years ago by jamiebrwr
1 ... 44 45 46 47 48 ... 147