Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
By putting the following code in your theme’s functions.php file, you create two extra sizes:
0
658
posted 13 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
688
posted 13 years ago by codepunk
Use a shortcode [sitemap] to render a sitemap ordered by custom menu order (Wordpress 3+).
0
1649
posted 13 years ago by ablears
Por parámetro selecciono la cantidad de caracteres que quiero que me muestre the_excerpt() en wordpress
0
653
posted 13 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
784
posted 13 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
830
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
597
posted 13 years ago by rickfu
this creates a function inside a widget object to create a dropdown menu with all the custom post types created in wordpress functions.
0
843
posted 13 years ago by hugosolar
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
735
posted 13 years ago by jamiebrwr
This snippet will help you to use the mother category, the ones with parent => 0, as your classes ready to be stylezed in your CSS!
0
871
posted 13 years ago by Pr0v4