Explore >> Select a destination


You are here

12oy.wordpress.com
| | kaspars.net
8.4 parsecs away

Travel
| | [caption id="attachment_3686" align="aligncenter" width="500"] Display a warning to editors when the number of characters or words exceeds a certain limit[/caption] Sometimes you want to limit the number of words that your editors or clients can enter into a post (usually of a custom post type). Here is a simple snippet of PHP and javascript that...
| | kaspars.net
9.7 parsecs away

Travel
| | Update: Ryan has made this into a plugin -- Code Comments. Add this to your theme's functions.php to allow readers post fragments of code in their comments (wrapped in ...) which are automatically encoded (think of < and <) add_filter('pre_comment_content', 'encode_code_in_comment'); function encode_code_in_comment($source) { $encoded = preg_replace_callback('/(.*?)<\/code>/ims', create_function( '$matches', '$matches[1] = preg_replace( array("/^[\r|\n]+/i", "/[\r|\n]+$/i"), "",...
| | marlongrech.wordpress.com
10.0 parsecs away

Travel
| | The INotifyPropertyChanged is what tells the WPF/SL binding that a property changed and that the binding should be updated. For this purpose its quite good. But what many times we end up doing is; handling the PropertyChanged in code so that we get notified that a property changed. An example is a ViewModel that need...
| | johannesbrodwall.com
63.6 parsecs away

Travel
|