Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0
1128
posted 14 years ago by vagrantradio
Say you wanted to create a shortcode like this: [youtube id="991WcoEPwb8"]
And instead of manually creating the HTML yourself, you wanted to use YouTube’s oEmbed provider to get the HTML. While that’s easy to do using WordPress’ existing fun...
3
844
posted 14 years ago by sdxxx
Enables you to add a custom panel in the admin post section for a custom field input
1
824
posted 14 years ago by Yahosh
Very useful line of code that I'm using very often to prevent old and cached CSS file being served to visitors. You just need to use timestamp of the file.
0
1114
posted 14 years ago by vagrantradio
Originally from:
http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0
914
posted 14 years ago by lawlesscreation
Use this to fix Pagination Problem on query posts page. This will fix the problem where clicking on the next page keeps showing same posts
1
862
posted 14 years ago by Farhan
This SQL query will find all the SlideDeck related entries in your WordPress database.
0
824
posted 14 years ago by Jamie
Takes the ID of a page, then displays a list of child pages with thumbnails and page titles. The thumbnail is generated from the 'featured image' of the particular child page.
2
1086
posted 14 years ago by martinlucas
"We should always be looking for ways to improve the functionality of our blogs. One of the easiest ways to improve our blog functionality and speed is to leverage browser caching."
1
1035
posted 14 years ago by sdxxx
Using shortcode to retrieve the author page url (ex. abc.com/?author=123), using the WP Shortcode API as reference.
1
770
posted 14 years ago by sdxxx