Snippets

gathered mainly for my own convenience, feel free to use these helpful code snippets I've accumulated over the years
  • 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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-2801 snippet type-snippet status-publish hentry snippet-type-wp clearfix entry">

    Add WordPress Shortcode Directly in a Template File

© 2008-2021, dauid.us