Welcome To Snipplr


Everyone's Recent Snippets



1 ... 237 238 239 240 241 ... 554
It 's a very simple way to get a little of information. Use for a quickly view.
0 965 posted 14 years ago by wnasich
This function will return the correct url for the timthumb php script (wordpress 3.0 or higher required!) Usage: just call the function in your theme with the post id as parameter, it will return a value so store this into a variable (must be ins...
0 877 posted 14 years ago by krike
When a link is clicked, call up this function. Parameter message = message you want to display after click url = page you want to forward to if the user clicks OK
1 804 posted 14 years ago by chopbust
This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
0 1092 posted 14 years ago by chopbust
0 900 posted 14 years ago by hamsterbacke82
You should include these Cookie helpers in your base page class. Enjoy!
1 1173 posted 14 years ago by mecha
Nicely group your CSS style blocks. CSSEdit (http://macrabbit.com/cssedit/) friendly.
0 693 posted 14 years ago by mecha
0 962 posted 14 years ago by gaborage
I wrote this little bit of code myself so if you see where you can improve on it, let me know. This is great for making complex menu's and also for making sure your POST data gets saved and reselected when the screen refreshes. I use it in all my pro...
0 1404 posted 14 years ago by geilt
Returns an array of files that match a search term in a certain directory.
1 872 posted 14 years ago by mattkenefick
0 699 posted 14 years ago by peceps
Useful snippet i found on a forum, use it to check to see if a user is old enough to submit a form.
2 1533 posted 14 years ago by 1man
1 867 posted 14 years ago by scholli
Uses a nested query to prject values from an entity collection.
1 1097 posted 14 years ago by housecor
0 1264 posted 14 years ago by zoranmk
Alternative: Central Administration --> Upgrade and Migration --> Check product and patch installation status
0 1146 posted 14 years ago by scholli
0 601 posted 14 years ago by simantic
This javascripts stops you from clicking on a nav link when there's a submenu below it, and it adds a class of "noclick" to the link, which you can use with CSS to change the cursor and background colour etc. .menu a.noclick:hover {cursor:default;}...
2 833 posted 14 years ago by kristarella
0 1187 posted 14 years ago by chrisaiv
0 757 posted 14 years ago by dmertl
1 ... 237 238 239 240 241 ... 554