Add Custom User Profile Fields In WordPress

When you are working on projects that need a lot of user management then you can get to the point where you need to add additional information to the users of your website. This is similar to creating new post meta data where you are able to create new bits of data and attach them to your posts, the users can work in exactly the same way. In the WordPress

Read more...

How To Rewrite URLs In WordPress

In this tutorial we are going to look at how you can use the built in WordPress rewriting API to create your own unique links for your website. WordPress will already use this for it's own functionality when you select a new permalink structure. What Is Rewriting? URL rewriting is when you change what content is displayed by the server, normally when you type in a URL the web server

Read more...

Display Post Meta Box On Specific Page Templates

In WordPress you have the ability to create different post types to hold different content, along with the create different post types you can also add new content fields attached to the posts themselves. This will allow you to create a field to enter data linked to the post which can be very useful when you are creating a way of displaying products, you can enter the description of the

Read more...

Change Default WordPress Emails

One of the best things about WordPress development is that not only can you use it as a CMS but as an application framework, it comes with a huge selection of utility functions that make it easy to handle form helpers, validation, file structures, email encoding and more. With WordPress actions and filters it becomes a very extendible framework to work with, another way to extend WordPress is with pluggable

Read more...

Add Upload Media To Library On Widgets

The WordPress media library is one of my favourite features in using WordPress over other CMS's, when you upload a new image into WordPress it will convert it to a number of a different sizes. These sizes can be defined in the settings -> media page, it will list three different image types where you can define new sizes for these image types. These means that every image you upload

Read more...

Add Button To Editor For All Shortcodes

WordPress shortcodes was introduced in WordPress version 2.5 and is a great way of adding full flexibility and control of certain functionality to the editor of your WordPress CMS. The best thing about shortcodes is that it allows editors to run a certain bit of code within the content area of your site. Having the ability of adding shortcodes means that the editor can also select the position to place

Read more...

Override Parent Theme Functions

Child themes is functionality that allows you to inherit the templates and functions of another theme. Using the child theme to can inherit all the styling of the parent to make small changes to the design. A child theme is the easiest way to modify an existing theme that you didn't develop. If you make changes to the parent theme directly and the theme developer updates the theme then you

Read more...

Programmatically Add Menu Item

WordPress comes with a default menu system which gives full control to the admin user of the site to change or create as many menu items as you want. To access the menu system in the admin area you just need to go to Appearance -> Menu. From this screen you will be able to see all the menus that currently exist on your WordPress site, you can select any

Read more...

Add TinyMce Editor To Category Description

In WordPress by default there are two ways to organise and group your posts, you can either group them by tags or by categories. On both of these taxonomies you can customise the name, slug and description. This makes it really easy to create a category page with a short description of what this category will display and then list all the posts assigned to this category. The problem with

Read more...

Order By Meta Values Using WP_Query

With WordPress you can use multiple ways to get a list of posts or content items, some of them will allow you to get the default posts and pages so you can loop through them and display these in your theme. The other option is to create a custom query to get specific posts from your content. To create custom queries the best option is to use the WP_Query class.

Read more...

1 2 3 4 5 6 7 8 9 10