How Do I Create an Admin URL in WordPress?

Creating an admin URL in WordPress is a two-step process. First, you need to create a custom post type.

Then, you need to create a custom taxonomy for that post type. Once you have both of these pieces set up, you can easily create an admin URL for your post type.

To create a custom post type in WordPress, first go to the Posts screen in the WordPress admin area. Then, click on the Add New Post button.

In the Post Type field, enter the name of the custom post type you want to create. For example, if you want to create a custom post type for managing blog posts, you would enter Blog Post in the Post Type field.

Next, in the Fields area, you will need to add some fields to your post type. The fields you will need to add are: a title, a description, a category, and a slug.

The slug is the unique name for your post type. For example, if you want to create a custom post type called “Blog Posts,” your slug would be “blog-posts.”.

To create a custom taxonomy for your post type, first go to the Taxonomies screen in the WordPress admin area. Then, click on the Add New Taxonomy button.

In the Taxonomy Name field, enter the name of the custom taxonomy you want to create. For example, if you want to create a custom taxonomy for managing blog posts, you would enter Blog Posts in the Taxonomy Name field.

Next, in the Fields area, you will need to add some fields to your taxonomy. The fields you will need to add are: a name, a description, and a slug.

The slug is the unique name for your taxonomy. For example, if you want to create a custom taxonomy called “Blog Posts,” your slug would be “blog-posts.

Finally, in the Options area, you will need to enter some information about your custom post type and taxonomy. The options you will need to enter are: a default post type, a default taxonomy, and a post type hierarchy. The default post type is the type of posts that will be created when you create a new post in your custom post type. The default taxonomy is the taxonomy that will be used to search for posts in your custom post type.

The post type hierarchy is the list of post types that are related to your custom post type. For example, if you want to create a custom post type called “Blog Posts,” and you want it to be a child post type of the “Blog,” post type hierarchy would be “Blog Posts,” “Blog,” and “Web Pages.

Once you have completed these steps, you will have a custom post type and a custom taxonomy, and you will also have an admin URL for your post type. The admin URL for your custom post type will be the same as the slug you entered in the Fields area of the Taxonomies screen.

The admin URL for your custom taxonomy will be the same as the name you entered in the Taxonomy Name field of the Taxonomies screen.