Profile
Achievement
 
    
                bitsculptor's Recent Snippets
- All /
 « Prev 1 Next »
This uses the timthumb script saved as sized.php in the theme directory
        
        
        
            1 
        
        
            1346 
        
                    posted 11 years ago by bitsculptor
            This is the code to add facebook comments to your wordpress site.
        
        
        
            1 
        
        
            1675 
        
                    posted 12 years ago by bitsculptor
            This is a simple fix for the iOS zoom bug that happens when changing screen orientations.
        
        
        
            0 
        
        
            1397 
        
                    posted 12 years ago by bitsculptor
            This allows you to create a custom page template in your plugin. Say your plugin creates a custom post type and you want to override the standard archives page template to display your custom post type in a special way. You could achieve this by crea...
        
        
        
            0 
        
        
            1493 
        
                    posted 12 years ago by bitsculptor
            this is a simple script to take iframe parameters and build an iframe via a shortcode
        
        
        
            1 
        
        
            1309 
        
                    posted 12 years ago by bitsculptor
            Add the init() function to your document.ready call. This allows touch events to be handled like click events.
        
        
        
            0 
        
        
            1405 
        
                    posted 12 years ago by bitsculptor
            This will reset the tabindex of all input fields on a form after page load
        
        
        
            0 
        
        
            1736 
        
                    posted 12 years ago by bitsculptor
            This allows you to change the logo, title text, and url for the login logo in wordpress.
        
        
        
            1 
        
        
            1408 
        
                    posted 13 years ago by bitsculptor
            This gives the code for creating a custom post type with all the necessary labels and even custom message support, and it gives the code for a custom taxonomy with that post type.
        
        
        
            0 
        
        
            2418 
        
                    posted 13 years ago by bitsculptor
            This will show you what template you are currently viewing (index.php, page.php)
        
        
        
            0 
        
        
            1359 
        
                    posted 13 years ago by bitsculptor
            This allows you to change the post updated message that wordpress automatically inserts.
        
        
        
            0 
        
        
            2348 
        
                    posted 13 years ago by bitsculptor
            A little function to add custom styles to the tinymce editor in wordpress.
        
        
        
            1 
        
        
            1268 
        
                    posted 13 years ago by bitsculptor
            This sorts a multi-dimensional array by one of the values in the array. Sorts in Desc order (most recent date first).
        
        
        
            0 
        
        
            1405 
        
                    posted 13 years ago by bitsculptor