Several users have requested that I build a “rating” field type for Easy Content Types that will allow administrators / editors to apply a rating to a post or custom post type entry. This sort of field type would be exceptionally useful for users running review websites, such as book, movie, or game reviews. I [...]
View PostUser Submitted Image Gallery – Part 5
In part five of this User Submitted Image Gallery tutorial series we build the advanced query system that allows users to filter images by categories and tags. This will be one of the most advanced sections of this series. You must be logged in and have an active premium membership to view the rest of [...]
View Post add_query_arg, add_shortcode, get_terms, paginate_links, tax_queryAdding a Simple Image Gallery with the Repeatable Upload Field
The new repeatable upload field in Easy Content Types, which was announced yesterday, provides a really easy to use method for creating simple image galleries. We are going to build off of the end result of the Creating a Simple Events System with Easy Content Types and add a minimal, but effective, image gallery to [...]
View Post easy content types, gallery, imagesUser Submitted Image Gallery – Part 4
In part three of this User Submitted Image Gallery plugin tutorial series, we created the function that processes image uploads. Now it is time to build our gallery’s short code, which will be used to display the complete gallery of user submitted images. This short code is rather complex and we won’t fully finish it [...]
View Post attachments, gallery, images, short codeCreating a Simple Events System with Easy Content Types
Event calendars are pretty complex and difficult systems to build. There are lots of plugins that provide a range of functionality, everything from really, really simple events management, to full blow event calendar layouts, ticket purchased and more. A lot of people, however, are very unsatisfied with the available options, either because they are too [...]
View Post easy content types, events, get_posts, meta_queryUser Submitted Image Gallery – Part 3
In part three of the User Submitted Image Galleries series, we’re going to look at automatically creating our “guest” user account, and process the image uploads from the submission form. This is where our plugin really begins to take shape. After this section, we will get into actually displaying our images on the “gallery” page. [...]
View Post attachment, gallery, image, usersIntroduction to Using Nonces for Form Validation
Nonces are used to add an extra layer of security to WordPress. They are typically used when submitting form data to ensure that the form is being submitted from where it’s supposed to. Nonce fields help us protect our forms from malicious attacks and non-authorized submissions. This tutorial will introduce you to using nonces in [...]
View Post forms, nonce, securityUser Submitted Gallery Images – Part 2
In this part of the User Submitted Image Galleries series we will look at setting up our custom image sizes and also the image submission form. In the previous part we registered out custom post types and taxonomies, and setup the basic structure of the plugin. You must be logged in and have an active [...]
View Post featured image, gallery, image, images, thumbnail, usersUser Submitting Gallery Images – Part 1
In part one of the User Submitted Image Galleries tutorial series, I’m going to walk you through the beginning steps of setting up our User Image Gallery plugin. This is a plugin that will allow us to have a user-submitting gallery of images our website. If a user registered an logged-in, they will be able [...]
View Post attachments, gallery, images, users
