• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Chad Ritchie

Graphic Designer, Front-End Web Developer

  • Blog
    • WordPress
  • Projects
    • Graphic Design
    • Web Projects
  • Photos
  • Services
  • Contact

WordPress

How To Remove The WordPress News Dashboard Widgets

June 24, 2014 By Chad Ritchie

As developers, we like to keep up with WordPress News.
wp-news
Most likely our clients do not care or understand WordPress news. Here is how I hide unwanted widgets from the WordPress Admin dashboard by including this code snippet in the themes function.php file.

Comment functions you want to keep by adding //* to line beginning.
I like to keep Recent Drafts, Recent Comments and the Right Now widget.

Filed Under: WordPress Tagged With: wordpress

Dynamically Populating Drop Down Fields

February 20, 2014 By Chad Ritchie

On a government site I was recently working on, a feature was requested to their sites employment application, that users ONLY be able to select positions that are currently being advertised. For this, all current job postings go to an Employment Opportunities category.

Gravity Forms is used for the employment application on this site. Therefore, there are two ways you might want to populate a drop down field. The first way is pre-selecting a drop down option when the form is displayed. The second way is dynamically populating the options that are available in a select drop down field.
[Read more…] about Dynamically Populating Drop Down Fields

Filed Under: Blog, WordPress Tagged With: Gravity Forms

WordPress Custom Functions File

February 3, 2014 By Chad Ritchie

To add custom functions to a WordPress theme could be as simple as adding them directly to the themes functions.php file. However, if you update that theme, those functions will be overwritten, losing the custom functionality that your site may depend on. One option is to setup a custom functions.php file.

Step 1

lib.png

Create a folder within your child theme named “lib”

Step 2

my_functions.png

Within the new “lib” folder, create a file named “my_functions.php”

Step 3

code.png

Paste this code in your my_functions.php file

<?php
//* My Custom Functions

Step 4

Save the file

Step 5

custom.png

Paste this code in your themes current functions.php file

Step 6

Save the file

Filed Under: Blog, WordPress

Comment out code using the “hidden” attribute

January 13, 2014 By Chad Ritchie

The hidden attribute works much better in the WordPress post area—commenting out code in the post area will hide all copy that follows and most often break the layout.

See the Pen Comment out code using the “hidden” attribute. by Chad Ritchie (@chadritchie) on CodePen.

Filed Under: WordPress

Disabling WordPress Automatic Updates

November 16, 2013 By Chad Ritchie

With the release of WordPress 3.7, you don’t have to manually apply maintenance and security updates any longer. Most sites are now able to automatically apply these updates in the background. The update process also has been made even more reliable and secure, with dozens of new checks and safeguards.
[Read more…] about Disabling WordPress Automatic Updates

Filed Under: Blog, WordPress

Under the hood of WordPress 3.6

August 2, 2013 By Chad Ritchie

Audio/Video API

The new audio/video APIs give developers access to powerful media metadata, like ID3 tags.

Semantic Markup

Themes can now choose improved HTML5 markup for comment forms, search forms, and comment lists.

[Read more…] about Under the hood of WordPress 3.6

Filed Under: Blog, WordPress

  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Go to Next Page »

Footer

Chad Ritchie Web & Graphic Design