Welcome To Snipplr


Everyone's Recent Snippets Tagged post



0 1711 posted 15 years ago by nebojsac
Este código pagina los resultados de wordpress, según los parámetros que se le asignen a la clase WP_query.
0 1624 posted 15 years ago by serialk89
this creates a function inside a widget object to create a dropdown menu with all the custom post types created in wordpress functions.
0 2020 posted 15 years ago by hugosolar
0 1298 posted 15 years ago by serialk89
Query any Post Type anywhere
0 1401 posted 15 years ago by zealmurapa
post thumbnail function and display as background if function exists
0 1937 posted 15 years ago by zealmurapa
Dynamically get the guid of your a post from its post title (with wordpress caching)
0 1815 posted 15 years ago by prwhitehead
Simply define your POSTURL and POSTVARS in name = value string format. It will post the form.
0 2117 posted 15 years ago by kumar_sekhar
0 1667 posted 15 years ago by linkmoises
11 3724 posted 15 years ago by frederichoule
The code references a custom post type (mysite_listings) and adds custom columns for editing the listings in the admin. This adds custom fields onto the edit / list views. Note: You will want to change instances of "mysite_listings" with your own...
1 2556 posted 15 years ago by crypticsoft
Example shows how to register post types for : * Listings (defined as 'mysite_listings' with the rewrite slug 'lookup') * Then registers the 'usa_states' taxonomy to the mysite_listings post type.
0 2264 posted 15 years ago by crypticsoft
0 1331 posted 15 years ago by tonatiuh
A RestClient class for calling webservice using both, get and post methods, and getting the response dropped into an String.
0 1435 posted 15 years ago by luixal
0 1497 posted 15 years ago by ramy
0 2887 posted 15 years ago by kendsnyder
Feel free to use this class however you'd like
0 1963 posted 15 years ago by jschilling
This is some very basic jQuery to post from a comment form on a website. I would probably change the .click to .bind("click",) and for different sites I add a success message. This code works with a basic form with text inputs named #name and #email...
3 1916 posted 15 years ago by creativeboulder
0 1579 posted 15 years ago by rliverman
0 1351 posted 15 years ago by baires
0 1813 posted 15 years ago by wnasich
Code for the wordpress functions file to add a custom post type. Full doc at: http://codex.wordpress.org/Function_Reference/register_post_type http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress
0 3842 posted 15 years ago by rliverman