How to create a custom post type thing to make a giant page easier in the backend?

[ad_1]

Hi, I’m trying to figure out how to do something that I know is possible. It’s a situation I’ve encountered a bunch of times now on different WordPress sites.

Here’s an example:

Right now I’m working on a site where they have a page that has a ton of resources divided into about 10 categories.

Each resource has a square picture, a name, a sentence or so of text and a button with a link.

There’s a few hundred resources on this page, it’s built using a page builder and making updates to the page with that is starting to become a problem due to the size of the page.

So my question is what do I need to learn how to use to create some kind of custom post type in the backend where I just have to hit New, put the picture, the title, the text and a link, select a category, hit post and then it shows up in the correct part of the page?

Is this what that Advanced Custom Fields plugin is for and is it possible to do this without having to add any code to the WordPress theme or anything like that?

Thanks in advance.

[ad_2]
2 Comments
  1. You’re on the right track!

    Depending on how your site is built – and I’ll assume it is built with a classic theme, then you’ll want to create a custom template, a custom post type (CPT), and custom fields in your CPT. And you’re right again – ACF is what most people use, though Pods is an alternative that has a lot of the same features as ACF Pro, in their free version.

    Important thing to note – You create the custom page template in a child theme. Never change your parent theme’s code (unless it is also custom built)

  2. If you’re using Gutenberg, use the query loop block to pull in the custom post types and custom fields.

    Then use something like the plugin Meta Field Block to make it easier to pull in the custom fields as blocks into the query loop.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer