Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1164
posted 14 years ago by sdxxx
Enables you to add a custom panel in the admin post section for a custom field input
1
1103
posted 15 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
1675
posted 15 years ago by vagrantradio
Originally from:
http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0
1253
posted 15 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
1210
posted 15 years ago by Farhan
This SQL query will find all the SlideDeck related entries in your WordPress database.
0
1160
posted 15 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
1441
posted 15 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
1487
posted 15 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
1081
posted 15 years ago by sdxxx
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
900
posted 15 years ago by brunohstein