• Home
  • The Author
  • Contact
    • Advertise on Do It With WordPress
Do It With WordPress

Category Archives: Code & Snippets

How to edit and create code to achieve the effects and functionality that you need

Attachment List

February 18, 2013
by Dave Clements
1 Comment

Display Post Attachments in a List

Using this snippet, you can display a list of attachments that are attached to a particular post, so that they can be retrieved on the front end. Continue reading →

Categories: Code & Snippets | Permalink

About Me

February 11, 2013
by Dave Clements
1 Comment

Display your Age Using a Shortcode

Instead of updating your About Me section every year, you can use this simple shortcode to quickly display your age and have it updated automatically. Continue reading →

Categories: Code & Snippets | Permalink

Gravity Forms - for your WordPress form needs

January 28, 2013
by Dave Clements
6 Comments

How to Make Fields Read Only with Gravity Forms

Using this snippet, you can make Gravity Forms fields read only, or greyed out, by simply applying a CSS class to the field, thus disabling user edits to the field: useful for displaying information. Continue reading →

Categories: Code & Snippets | Permalink

Restrict Content Pro - Access Levels

January 15, 2013
by Dave Clements
0 comments

Conditional Gravity Forms Fields based on Restrict Content Pro Access Level

With this snippet, you can take the user’s access level from Restrict Content Pro to conditionally display (or hide) certain fields in a Gravity Forms form. Continue reading →

Categories: Code & Snippets | Permalink

Using Custom Meta Boxes

January 8, 2013
by Dave Clements
4 Comments

Using Custom Meta Boxes to Create Highly Customized WordPress Sites

Using tools like Custom Meta Boxes, you can store and display data very easily, allowing you to create complex sites for tracking orders, keeping a customer database, or managing projects for example. Continue reading →

Categories: Code & Snippets, Resources & News | Permalink

New Editor Window Hooks

December 17, 2012
by Dave Clements
6 Comments

Add a Message Above or Below the Post Editor

Using new hooks available in WordPress 3.5, you can now very simply add messages above or below the editor, allowing you to post messages to writers. Continue reading →

Categories: Code & Snippets | Permalink

address-book

December 10, 2012
by Dave Clements
5 Comments

Display User’s Name, or any of Their Other Information

This simple snippet allows you to use shortcodes to display any user information on a post/page/widget, such as their name, user ID or email address. Continue reading →

Categories: Code & Snippets | Permalink

The dashboard view of a custom post type can be set to look however you need.

November 26, 2012
by Dave Clements
0 comments

Registering Custom Post Types

Custom Post Types are a very powerful tool that can be used to add immense functionality to WordPress, and this tutorial shows you how to register your own. Continue reading →

Categories: Code & Snippets | Permalink

A template of the emails you can send using this method

November 19, 2012
by Dave Clements
5 Comments

Sending Out An Email When a Post is Published

Using wp_mail & an action hook, you can easily send emails to the author when their posts are published. I used it to notify customers when orders shipped. Continue reading →

Categories: Code & Snippets | Permalink

What Next box

September 4, 2012
by Dave Clements
10 Comments

How I Built my “What Next?” Box

In my recent redesign, I added a special “What Next?” box at the end of each post, to facilitate social sharing, encourage commenting and offer help if it’s needed. Continue reading →

Categories: Code & Snippets | Permalink

12345...»6

369

1158

Stay informed

Either get a periodic newsletter about special deals and WordPress news, or a weekly digest of our new posts. Or both!

Useful WP Sites

  • WordPress Codex
  • WPLift
  • wpsnipp
  • WPin.me
  • WPHub
  • Yoast
  • WordPress Tavern
  • WPExplorer
  • WPBeginner

Categories

  • Blogging
  • Code & Snippets
  • Giveaways
  • Non-WordPress
  • Resources & News
  • Reviews
    • Hosting
    • Plugins
    • Themes
  • Security
  • Social Media
  • Speed
  • The Basics

RSS Dave’s blog

  • Customer service: the right way May 18, 2013
  • Don’t interrupt thinking thinkers May 15, 2013
  • Ken Robinson discusses the current state of education May 15, 2013

Recent Posts

  • A Better Planet
  • WPTavern Returns
  • Elegant Themes Giveaway

Hosting recommendations

I try to make it easy for you; there are just two hosts and one CDN that I recommend:

Shared Hosting

HostGator is without a doubt the best choice for most WordPress sites. See why I love HostGator. Use coupon DIWW25PCOFF to save 25%.

VPS and Dedicated Servers

ServInt is an excellent provider of VPS and Dedicated Servers for much busier sites. See why I love ServInt.

Content Delivery Network

MaxCDN is a perfect fit for WordPress. It ties right in with W3 Total Cache and loads your site much faster. See why I love MaxCDN.

Must-have Plugins

There are some plugins that I just can't live without. Here's just a few of them:

Gravity Forms

Gravity Forms is the single plugin that I couldn't live without. See why I love Gravity Forms.

Solilqouy

Soliloquy lets you build the most powerful, customized and responsive sliders in WordPress. See why I love Soliloquy.

Proudly powered by WordPress | Based on Yoko by Elmastudio.

Top