code snippets

gathered for convenience and ever-growing, feel free to adopt these helpful code snippets into your projects
  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2801 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Add WordPress Shortcode Directly in a Template File

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2840 snippet type-snippet status-publish hentry snippet-type-jq clearfix entry">

    Automatically Check A Checkbox Value

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-3083 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Change Featured Image metabox text

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2845 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Change Style of Active Menu Item

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2804 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Custom Post Type Archive Loop

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2826 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Custom Right Now Dashboard Widget

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2835 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Custom Taxonomy Archive Page

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2813 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Custom Upload Directory

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2809 snippet type-snippet status-publish hentry snippet-type-css clearfix entry">

    Debug Element Classes for Standards Compatibility

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-3087 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Define embedded media width

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2814 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Disable toolbar for Users

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2815 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Disable Toolbar Links

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2830 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Display Alert or Error Message on Admin Pages

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2837 snippet type-snippet status-publish hentry snippet-type-php clearfix entry">

    Display and Format Latest Tweet

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-3086 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Display excerpts with all code intact

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2867 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Display Unformatted Tweet – api 1.1

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2823 snippet type-snippet status-publish hentry snippet-type-css clearfix entry">

    Drop Caps in Paragraph Text

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-3352 snippet type-snippet status-publish hentry snippet-type-php clearfix entry">

    Echo Current Year

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2811 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Enqueue Script in functions.php

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2817 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Force Strong Passwords

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2808 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Get Child Theme Directory

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2831 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Hide Updates from All Non-Administrator Roles

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2819 snippet type-snippet status-publish hentry snippet-type-css clearfix entry">

    Optimize for Printing

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2849 snippet type-snippet status-publish hentry snippet-type-css clearfix entry">

    Realistic Hinge CSS3 Animation

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2828 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Replace “Howdy” in Admin Bar

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2829 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Replace Admin Footer Text

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2821 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Set Admin Editor Width

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2856 snippet type-snippet status-publish hentry snippet-type-js clearfix entry">

    Set Element’s Min-Height to Height of Another Element

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2827 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Sharpen Resized Media Files with AJAX

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2847 snippet type-snippet status-publish hentry snippet-type-css clearfix entry">

    Single Image CSS3 Sprite Animation

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2806 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Sort Posts Alphabetically

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2816 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Style Admin Pages

  • Warning: Illegal offset type in isset or empty in /home/customer/www/dauid.us/public_html/wp-includes/taxonomy.php on line 290
    class="post-2857 snippet type-snippet status-publish hentry snippet-type-js clearfix entry">

    Sum the Heights of Two Elements

© 2008-2021, dauid.us