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
981
posted 13 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
702
posted 13 years ago by sdxxx
Enables you to add a custom panel in the admin post section for a custom field input
1
678
posted 13 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
962
posted 13 years ago by vagrantradio
Originally from:
http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0
751
posted 13 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
732
posted 13 years ago by Farhan
This SQL query will find all the SlideDeck related entries in your WordPress database.
0
703
posted 13 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
937
posted 13 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
882
posted 13 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
653
posted 13 years ago by sdxxx