KoderyBeta

Twenty New Snippets

151jQuerySimple Modal BoxSimple jQuery Modal Box
150bbPressHTML5 Video with FallbackFalls back to Flash (sigh), but better than no video.
149WordPressIf is_subpage FunctionChecks to see if page is either a sub-page, or sub-page to perticular page.
148WordPressBasic WP Post ThumbsA basic implementation of WordPress Post Thumbnails
147WordPressBasic WP Post ThumbsA basic implementation of WordPress Post Thumbnails
146PHPGet Users Google Search TermGets what the user searched for in Google
145jQueryDiagonal Background ScrollScrolls background up and left
144PHPIf Parent Domain is in arrayIf the iFrame is on a page where the URL is in the array...
143PHPIf is AJAX requestDetects if the file was requested by JS
142WordPressNewest post from each authorGets the newest post from each author, if they have actually posted.
141JavaScriptGet TweetsLoads tweets from Twitter, with their own code.
140WordPressGet Post/Page ContentGets the content of any post or page, anywhere on the site.
139HTMLPortrait & Landscape iPad CSS linksLoad a different CSS file depending on your iPad's orientation.
138PHPTrim strings by word.Trims the given tring by the word, rather than letter. Looks more 'natural'.
137PHPNeat TrimWorks like substr but lets the last word finish. Ends with '...'
136HTMLiPhone ViewportSets the browser width to 320px
135WordPressIf is sub pageChecks to see if the current page is a child (on any level) to the defined page
133WordPressOnly Count Comments, Not TrackbacksFilters the comment count to not include trackbacks.
132WordPressCustom Lengh ContentLets you define the lengh of the content show.
129WordPressReturn Dynamic Page TitleReturns the page title for the ID given