Guest author is a type of account designed for visitors to register and submit posts without any admin permission. This helps you have more rich content for your site. Today, I'll show you how to allow users to sign up for a guest author account and submit guest posts using Meta Box.

Here is my example.

Create a page to allow users to sign up for a guest author account and submit guest posts using Meta Box.

Video Version

Before Getting Started

Specifically, in this case, users will be able to register an account, log in, and then access a management page similar to the above demo. On this page, they will have the ability to edit their account information and also submit posts.

Moreover, they’ll have a section where they can manage the posts that they submitted as well as edit the posts.

A section where they can manage the posts that they submitted as well as edit the posts

To solve all the above requirements, we should use Meta Box and its following three extensions:

  • Meta Box Builder: provides a UI in the back end to create custom fields for the guest author’s information as well as the extra information of the post if any;
  • MB User Profile: allows you to create registration forms and manage the guest author accounts;
  • MB Frontend Submission: helps create a form to submit posts on the frontend.

Allow Guest Users to Register an Account

First, we should create a registration form for guest users to register a new account.

Simply head over to the Settings menu > General, then check the box Anyone can register in the Membership item.

In the Settings menu > General, then check the box Anyone can register in the Membership item.

Furthermore, in the New User Default Role section, you can choose to set the default role when they register. I set it as Subscriber, which provides enough privileges for them to submit posts.

In the New User Default Role section, you can choose to set the default role when they register.

Typically, when a user registers an account, it only includes some default fields. However, if you want them to provide some additional information, you can create custom fields and allow them to fill in those fields.

Create Custom Fields

Just go to the Meta Box > Custom Fields > Add New to create some fields for guest author information.

Create some fields for guest author information.

Actually, the user’s account already has the default fields.

The user’s account already has the default fields.

However, they won’t be displayed on the register page as well as the profile page on frontend. So, I’ll use a trick. Create some custom fields to be the alternative of those fields, and then display the custom fields on those pages.

Make sure to set the ID of the fields to be the same as the one of corresponding default fields that WordPress uses. By doing so, when users fill in the custom fields, the data will be automatically transferred into the corresponding WordPress field.

Set the ID of the fields to be the same as the one of corresponding default fields that WordPress uses.

I just created some typical fields, like in the image above. The First Name and Last Name fields are alternatives for the two default fields, which have the same name. And the Biography field is an extra one that I added. There is no requirement on the ID of this kind of field. If you want more extra information from the guest author, just add fields as usual.

After creating all the fields, move to the Settings tab and remember to set Location as User.

Move to the Settings tab and remember to set Location as User.

Once you have published, the field group ID will be generated automatically. We’ll use it in the next step.

The field group ID

Create the Registration Page

Let’s create a new page for registration.

As usual, users need to set an username and a password for the account on the registration page. Since we have the MB User Profile extension from Meta Box, we just need to add a block provided by it to have the fields for username and password. It is the Registration Form block.

The Registration Form block

It should be a form with the username and password fields. But, I logged in an admin account to do this practice, so there will be a message.

A message replaces a form which has the username and password fields.

The form will display when you go to the page without any login, as you can see here.

The form will display when you go to the page without any login

But, that’s not all the things I want for this page. As I said before, if you want users to provide more information, you can put other custom fields onto this page. I created a field group for example, so I will put it in this place.

The place where we put a field group.

Go back to edit the registration page. In the settings of the Registration Form block that we’ve just added, fill in the ID of the field group that we created into this box.

Fill in the ID of the field group that we created

Now, back to the registration page on the frontend, you will see the form will be like this.

A form in the registration page on the frontend

Just create a new account for testing then move to the admin dashboard, you’ll see the new account. And, the provided information also is saved in both the default and custom fields.

A new account

Create the My Account Page

After registering for an account, users will need a page where they can log in and manage their account information. I’ll create one as the My Account page.

On this page, I’ll display the custom fields that were used to register accounts like in the image below. It allows users to modify their personal information.

The My Account page

Just go to Pages > Add New to create a new page as usual.

Add a block named Edit Profile Form. It’s provided by the MB User Profile extension as well.

Edit Profile Form

Look for the settings of this block. Fill in the ID of the created field group into the box below. By doing this, the custom fields will be displayed immediately.

Fill in the ID of the created field group

At this right sidebar, you also can customize this form by changing some settings.

For example, change the label of the button.

Change the label of the button

To access the My Account page, users must log in to their account first. Then, you can see the My Account page that I’ve just created with the user's information submitted since they registered.

The My Account page

Create the Post Submission Page

Now, I will create a page to allow guest authors to submit their own posts directly from the frontend without accessing the backend.

Go to Pages and create a new one again. Then, look for a block named Submission Form. It is available when the MB Frontend Submission extension is enabled.

Submission Form

This block will display a Title field and a Content field of a post by default.

The block will display a Title field and a Content field of a post by default.

You absolutely can customize this form in the settings on the right sidebar.

Next, choose the Post Type to be the post option, and then the submitted data will be saved as a post. Or, you can choose any other custom post type as you want the guest post to be.

Choose the Post Type to be the post option, and then the submitted data will be saved as a post.

I highly recommend setting the post status be “draft” or “pending”. This will help you to avoid displaying some unexpected spam content without control.

Set the post status be “draft” or “pending”

In the Post Fields section, in addition to the title and content of the article, you can also allow the guest author to enter more information about the post.

In the Post Fields section, you can also allow the guest author to enter more information about the post.

In the event that you want to add other information for the post, you can create custom fields and insert the ID of the field group in the box as seen in this picture. It is similar to the Register page that I’ve just created.

To add other information for the post, you can create custom fields and insert the ID of the field group

Now, any account can go to this page to submit a post.

Allow Guest Authors to Manage Posts

Since the guest author has already submitted the posts to the website, we should allow them to manage all the posts they submitted. To do this, I will insert a table onto the My Account page that displays all those posts.

Go to edit the page once again, add the User Dashboard block. This block is available when you enable the MB Frontend Submission extension.

MB Frontend Submission

When you select this block, you will see the table appear immediately.

The table shows how many post provided.

There will be a list of posts in the table since I’m using an admin account that submitted a bunch of posts.

Choose the Submit A Post option to stipulate that the table will show posts which have been submitted from the Submit A Post page only.

Choose the Submit A Post option to stipulate that the table will show posts which have been submitted from this page only.

There’re also some other settings on the right sidebar that you can use to customize the table.

Pay attention to the Add New button. It will appear at the same time as the table. When the user clicks on this button, they will automatically be directed to the Submit A Post page.

Now, let’s login to the testing account that we use as a guest author. On the My Account page, there’s no post on the list because this account is totally new.

There’s no post on the list

Let’s add a new post by clicking on the Add New button to submit the post, or you can go directly to the Submit A Post page.

Add a new post by clicking on the Add New button, or you can go directly to the Submit A Post page.

Back to My Account page you will see a post you’ve just submitted is listed in this table. The status of this post is pending, exactly as which I set earlier.

There is a submitted post with pending status.

If the author wants to edit this post, they can click the button below.

If the author click the button to edit this post.

After changing the title of the post, you will see the post title has been changed.

The post title has been changed.

So, everything worked well.

Last Words

We have gone through some steps to add guest authors and guest posts to your site. It is very convenient to use all three extensions from Meta Box to do the above execution without touching any code. Thanks for reading!

  • How to Add Guest Authors and Guest Posts - Using Meta Box

Other case studies you might be interested in

  1. Create A Dynamic Landing Page in WordPress Using Custom Field
  2. Create a Filter to Find Hotels by Location
  3. Create an OTA Website Like Booking.com with Meta Box Plugin - P1: Create a Page to Introduce Hotel Rooms
  4. Create an OTA Website Like Booking.com with Meta Box Plugin - P2: Create Filters on the Archive Page
  5. Create an OTA Website Like Booking.com with Meta Box Plugin - P3: Create Filters for Single Hotel Pages
  6. Create Dynamic Favicon in WordPress using Meta Box plugin
  7. Create Posts Series in WordPress Using Meta Box
  8. Display The Latest Products Section - P2 - Using Meta Box and Elementor
  9. Display The Latest Products Section - P3 - Using Meta Box And Oxygen
  10. How to Add Custom Fields for WooCommerce - P2 - Using MB Views
  11. How to Add Custom Fields to Display Banners using Meta Box Plugin
  12. How to Add Guest Authors and Guest Posts - Using Meta Box
  13. How to Add Related Posts - Using Custom Fields
  14. How to Build a Hotel Booking Website Using Meta Box - P1
  15. How to Build a Hotel Booking Website Using Meta Box - P2 - Booking Page in Backend
  16. How to Build a Hotel Booking Website Using Meta Box - P4 - Booking Management Page
  17. How to Build a Hotel Booking Website Using Meta Box – P3 – Booking Page for Customer
  18. How to Create a Classified Ads Website using Meta Box
  19. How to Create a Custom 404 Page in WordPress - P1 - Using Meta Box and Elementor
  20. How to create a FAQs page - P5 - Using Meta Box and Breakdance
  21. How to Create a Product Page - P2 - Using Meta Box and Oxygen
  22. How to Create a Product Page - P3 - Using Meta Box and Bricks
  23. How to Create a Product Page - P4 - Using Meta Box and Elementor
  24. How to Create a Product Page - P5 - Using Meta Box and Gutenberg
  25. How to Create a Product Page - P6 -Using Meta Box and Breakdance
  26. How to Create a Product Page - P7 - Using Meta Box + Kadence
  27. How to Create a Product Page - P8 - Using Meta Box and Brizy
  28. How to Create a Product Page - P9 - Using Meta Box and Divi
  29. How to Create a Product Page using Meta Box Plugin
  30. How to Create a Recipe - P2 - Using Meta Box and Oxygen
  31. How to Create a Recipe - P3 - Using Meta Box and Elementor
  32. How to Create a Recipe - P4 - Using Meta Box and Bricks
  33. How to Create a Recipe - P5 - Using Meta Box and Zion
  34. How to Create a Recipe - P6 - Using Meta Box and Brizy
  35. How to Create a Recipe - P7 - Using Meta Box and Breakdance
  36. How to Create a Recipe - P8 - Using Meta Box and Kadence
  37. How to Create a Recipe - P9 - Using Meta Box and Divi
  38. How to Create a Recipe with Meta Box Plugin
  39. How to Create a Simple Listing - P2 - Using Meta Box and Bricks
  40. How to Create a Simple Listing - P3 - Using Meta Box and Breakdance
  41. How to Create a Simple Listing - P4 - Using Meta Box and Elementor
  42. How to Create a Team Members Page - P1- Using Meta Box and Elementor
  43. How to Create a Team Members Page - P2 - Using Meta Box and Oxygen
  44. How to Create a Team Members Page - P3 - Using Meta Box and Bricks
  45. How to Create a Team Members Page - P4 - Just Meta Box
  46. How to Create a Team Members Page - P6 - using Meta Box and Breakdance
  47. How to Create a Team Members Page - P7 - Using Meta Box and Kadence
  48. How to Create a Video Gallery Page - P2 - Using Meta Box + Bricks
  49. How to Create a Video Gallery Page - P3 - Using Meta Box and Breakdance
  50. How to Create a Video Gallery Page - P4 - Using Meta Box + Elementor
  51. How to Create a Video Gallery Page - P5 - Using MB Views
  52. How to Create a Video Gallery Page - P6 - Using Meta Box and Zion
  53. How to Create a Video Gallery Page Using Meta Box + Oxygen
  54. How to Create ACF Flexible Content Field with Meta Box
  55. How to Create an Auto-Updated Cheat Sheet in WordPress
  56. How to Create an FAQs Page - P1 - Using Meta Box and Elementor
  57. How to create an FAQs page - P2 - Using Meta Box and Oxygen
  58. How to create an FAQs page - P4 - Using Meta Box and Bricks
  59. How to Create an FAQs Page - P6 - Using MB Views
  60. How to Create an FAQs Page - P7 - Using Meta Box and Divi
  61. How to Create an FAQs Page - P8 - Using Meta Box and Kadence
  62. How to Create an FAQs Page - P9 - Using MB Blocks
  63. How to Create an FAQs Page -P3- Using Meta Box
  64. How to Create Buttons with Dynamic Link using Custom Fields
  65. How to Create Category Thumbnails & Featured Images Using Custom Fields
  66. How to Create Download and Preview Buttons - P1 - Using Meta Box and Bricks
  67. How to Create Download and Preview Buttons - P2 - Using Meta Box and Oxygen
  68. How to Create Download and Preview Buttons - P3 - Using MB Views
  69. How to Create Download Buttons in WordPress - Using Custom Fields
  70. How to Create Dynamic Landing Page in WordPress - P1 - Using Meta Box and Elementor
  71. How to Create Dynamic Landing Page in WordPress - P2 - Using Meta Box and Bricks
  72. How to Create Menus for Restaurants - P1 - Using Meta Box and Elementor
  73. How to Create Menus for Restaurants - P2- Using Meta Box and Bricks
  74. How to Create Notification Using Custom HTML Field
  75. How to Create Online Admission Form for School or University
  76. How to Create Online Reservation Form for Restaurants using Meta Box
  77. How to Create Relationships - P1 - Using Meta Box and Oxygen
  78. How to Create Relationships - P2 - Using Meta Box and Bricks
  79. How to Create Relationships - P3 - Using MB Views
  80. How to Create Relationships - P4 - Using Meta Box and Breakdance
  81. How to Create Taxonomy Thumbnails & Featured Images - P2 - Using Meta Box and Oxygen
  82. How to Create Taxonomy Thumbnails & Featured Images - P3 - Using Meta Box and Bricks
  83. How to Create Taxonomy Thumbnails & Featured Images - P4 - Using MB Views
  84. How to Create YouTube Video Timestamps on WordPress Website - P1 - Using MB Views
  85. How To Display All Listings On A Map With Meta Box
  86. How to Display Author Bio in WordPress - P1 - Using Meta Box and Bricks
  87. How to Display Author Bio in WordPress - P2 - Using MB Views
  88. How to Display Dynamic Banners in WordPress - P3 - Using MB Views
  89. How to Display Images from Cloneable Fields - P1 - with Gutenberg
  90. How to Display Images from Cloneable Fields - P2 - Using Meta Box and Oxygen
  91. How to Display Images from Cloneable Fields - P3 - with Elementor
  92. How to Display Images from Cloneable Fields - P4 - with Bricks
  93. How to Display Opening Hours for Restaurants - P1 - Using Meta Box + Gutenberg
  94. How to Display Opening Hours for Restaurants - P2 - Using Meta Box and Oxygen
  95. How to Display Product Variations - P1 - Using Meta Box and Gutenberg
  96. How to Display Product Variations - P2 - Using Meta Box and Oxygen
  97. How to Display Product Variations - P3 - Using Meta Box and Bricks
  98. How to Display the Dynamic Banners - P2 - Using Meta Box and Bricks
  99. How to Display The Latest Products - P5 - Using Meta Box and Bricks

2 thoughts on “How to Add Guest Authors and Guest Posts - Using Meta Box

  1. Hi there!
    Are all these blocks (such as the “Edit Profile Form” one) available for Bricks Builder?
    Thanks in advance.

Leave a Reply

Your email address will not be published. Required fields are marked *