Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to display your page or categories list within a definition list instead of the default unordered list. The first block is about pages and the second one is about categories.
0
519
posted 13 years ago by brunohstein
Used in Wordpress to get the post Thumbnail. Thumb url goes to $img
0
543
posted 13 years ago by RWolford
Add custom logo to the login and dashboard of wordpress.
More customization functions at:
http://sixrevisions.com/wordpress/how-to-customize-the-wordpress-admin-area/
1
692
posted 14 years ago by rliverman
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
2283
posted 14 years ago by rliverman
PHP
wordpress functions.php - Show only current page's subpages and current pages siblings, hide sibling's subpages
Works!
0
866
posted 14 years ago by zartgesotten
This code is usefull for getting the list of Wordpress Sites from Multisite without sending each user id.
0
1180
posted 14 years ago by juanrossi