O'Reilly logo

WordPress Responsive Theme Design by Dejan Markovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Services section (list of services)

In this section, we will create the option to list services, and in order to do that, we have to create the option for our users to add services. The best way to do this is to use the plugin, which will add custom post services to our wpadmin dashboard.

Note

Custom posts help end user differentiate one type of post from other as in the database, all posts are saved on the same place. In our example, our user can choose the services option in wpadmin and add new services. Later on, when we want to show results, we are going to search for posts of the type service to display.

I have created the plugin that will add custom post type services to wpadmin, and this plugin can be downloaded from https://github.com/dejanmarkovic/nyto-services-cpt ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required