Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 14 15 16 17 18 ... 42
0 1283 posted 14 years ago by ronal
0 1620 posted 14 years ago by willem
Twitter have changed their api, and using the old twitter.com?status=… doesn't work anymore. This uses the new 'Web Intents' method.
0 1233 posted 14 years ago by adamturtle
To enablefeatured image on a post, just open your theme’s functions.php file, paste in the code below, and voila!
0 1389 posted 14 years ago by xavsio4
By putting the following code in your theme’s functions.php file, you create two extra sizes:
0 1158 posted 14 years ago by xavsio4
If you want to be able to use shortcodes in WordPress widgets, place the snippet below into your functions.php, or custom_functions.php file
0 1198 posted 14 years ago by codepunk
Universal WordPress function for thumbnails
0 1110 posted 14 years ago by gn_themes
Use a shortcode [sitemap] to render a sitemap ordered by custom menu order (Wordpress 3+).
0 2492 posted 14 years ago by ablears
Funcion los post más vistos en wordpress.
0 1610 posted 14 years ago by serialk89
0 1168 posted 14 years ago by nathanbweb
Taken from an article of http://smashingmagazine.com
0 1340 posted 14 years ago by xavsio4
0 1363 posted 14 years ago by xavsio4
Por parámetro selecciono la cantidad de caracteres que quiero que me muestre the_excerpt() en wordpress
0 1265 posted 14 years ago by serialk89
Este código pagina los resultados de wordpress, según los parámetros que se le asignen a la clase WP_query.
0 1330 posted 14 years ago by serialk89
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 1395 posted 14 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 1073 posted 14 years ago by rickfu
0 991 posted 14 years ago by screamwork
0 1541 posted 14 years ago by nathanbweb
this creates a function inside a widget object to create a dropdown menu with all the custom post types created in wordpress functions.
0 1634 posted 14 years ago by hugosolar
1 ... 14 15 16 17 18 ... 42