/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 Add to functions.php: function ODD_title($char) { $title = get_the_title($post->ID); $title = substr($title,0,$char); echo $title; } insert into template: <?php ODD_title(20); ?>
Comments
                    Subscribe to comments
                
                