Creating the Services Custom Post Type

In this tutorial we customize our Portfolio post type plugin to build a Services custom post type in our WordPress Dashboard. We will now have a plugin that creates two different custom post types (Portfolio and Services). This will allow users to add different Services just like they can with the Portfolio custom post type.

You need to have an active subscription to view this content.

Register Here!

Adding a custom Meta Box for the Banner Title

Now that we can add custom meta boxes to our posts and pages, lets add a meta box that gives our theme users the ability to customize the banner title. We will create a PHP if statement that will fallback to the page or post title if they don't submit a custom title in our meta box.

You need to have an active subscription to view this content.

Register Here!

Adding the TGM Plugin Activation Script

In this tutorial I will show you how to add the TGM plugin activation script to our WordPress theme. This will allow us to recommend and require plugins to our theme users. We will use this script throughout this tutorial series to include third-party plugins as well as include a plugin we include in our theme package.

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference pre-packaged plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.

You need to have an active subscription to view this content.

Register Here!