Skip to main content

Home/ Wordpress/ Group items tagged snippets

Rss Feed Group items tagged

Michael Sturgeon

10 awesome PHP functions and snippets - StumbleUpon - 1 views

  •  
    Every web developer should keep useful code snippets in a personal library for future reference. Today, I'm showing you the 10 most useful snippets and functions I have added to my snippet library from the past 3 months.
Elías Gómez

Allow SVG through WordPress Media Uploader | CSS-Tricks - 0 views

  •  
    function cc_mime_types($mimes) {
    $mimes['svg'] = 'image/svg+xml';
    return $mimes;
    }
    add_filter('upload_mimes', 'cc_mime_types');
  •  
    function cc_mime_types($mimes) {
    $mimes['svg'] = 'image/svg+xml';
    return $mimes;
    }
    add_filter('upload_mimes', 'cc_mime_types');
Vernon Fowler

Add Odd/Even to Posts | WordPress Snippets - 0 views

  • To add the classes “even” and “odd” to your posts, put the following snippet in your functions.php.
Alexis Sgavel

20 More WordPress Code Snippets and Hacks - 0 views

  •  
    When coding WordPress themes, especially if you do it regularly, its really useful to have a selection of code snippets in your toolbox to just 'copy-n-paste' as and when the functionality needs. Not just your most commonly used code, but also some snippets that can, when required, extend WP even further.
JR Oakes

Shun the Plugin: 100 WordPress Code Snippets from Across the Net | WordPress, Multisite... - 16 views

  •  
    Great Code examples 
Vernon Fowler

WP-Snippets | WordPress Hacks, Snippets and Tips - 15 views

  •  
    Excellent source of help for WordPress development. Snippets are a great way to get information on how to complete simple and even complex tasks without having to reinvent the wheel. Very handy tool to have around
  •  
    I'm sure some of you have seen this before, but It's one of my favorite resources.
1 - 12 of 12
Showing 20 items per page