The new admin bar, now named the tool bar, in WordPress 3.3 is great. It’s really well organized and cleans the dashboard up a lot. It’s also great for developers because adding new links to settings pages, documentation, or other useful links, is quite simple. In this quick tip, I’m going to show you how [...]
View PostImage Gallery Short Code Using Post Attachments
The built-in WordPress gallery systems leaves much to be desired. It works well if a theme supports it, but it can be difficult to customize, especially if you have any special markup you’d like with the gallery. While working on a client’s theme, I wrote up a quick short code function that can be used [...]
View Post attachments, images, short codeQuerying Custom Post Types in Your Theme Templates
Easy Content Types make it extremely easy to add new custom post types to your WordPress site. What is not always so easy is getting those post types to show up in your template files. This is mostly because a lot of themes do not support them very well. So I’m going to show you [...]
View Post custom post types, easy content types, query_postsControlling Page Layouts with Custom Meta Fields
Easy Content Types makes it really easy to create custom meta boxes with as many fields as you want. Did you know you can use these fields to control the layout of your posts or pages in WordPress? With just a couple of fields, and some tweaks to your theme’s template files, you can provide [...]
View Post easy content types, meta box, meta fieldsWriting Your First WordPress Plugin Part 7 – Final
Part seven of Writing Your First WordPress Plugin concludes the series by demonstrating how to extend the plugin options that I showed you in part 6, and how to use them to control various aspects of your plugin’s output, such as turning it on or off and changing theoutput’s theme. There is not a lot [...]
View Post options, settingsWriting Your First WordPress Plugin Part 6
In part 6 of Writing Your First WordPress Plugin, I’m going to continue where we left off in part 5 and demonstrate how to create your plugin settings form. We will create a complete settings page that allows you to save your plugin options to the database easily from the Settings page that we added [...]
View Post add_options_page, options, register_setting, twitterWriting Your First WordPress Plugin Part 5
In part 5 of Writing Your First WordPress Plugin, I’m going to take you through the process of adding an admin options page to your first WordPress plugin. This options page will allow your user to configure the settings for the plugin very easily. In this case, we’re going to use it to allow the [...]
View Post add_options_page, admin_menu, register_settingAdd Contextual Help Screens to the WordPress 3.3 Help Tab
WordPress 3.3 has a really nice new Help menu that can be used by plugin and theme developers to show a lot of helpful information to the users. It’s very similar to the Contextual Help Tab, but allows much more information to displayed in a more organized fashion. Instead of all content being displayed in [...]
View Post 3.3, add_help_tab, contextual help, help tab, toolbarAdd User ID Column to the WordPress Users Table
Being able to quickly find the unique ID number of any user in your WordPress database can be very useful, especially if you run a website with lots of users. One of the ways that we can easily find a user’s ID is by customizing the table displayed on the wp-admin/users.php page. We can add [...]
View Post columns, users, user_id